Build system circular dependency
Currently bootstrapping the MMTk binding induces a dependency cycle:
- The rust bits (
rts/mmtk/mmtk) requires_build/stage1/rts/build/include/ghcautoconf.hdue tobindgen -
_build/stage1/rts/build/include/ghcautoconf.hrequires thatrtsbe configured, due tohadrian/src/Rules/Generate.hs:159 - configuring
rtsrequireslibCmmtk_ghc.adue to the dependency declared inrts/rts.cabal.in
This can be manually broken by running rts/configure but this is a horrible hack.
Edited by Ben Gamari