Consider the the dune port of integers:
dune build --profile foo @all
ocamlopt top/.integers_top.objs/install_integer_printers.{cmx,o}
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
integers_top is defined with (modes byte) so this alias shouldn't include those targets.