Please note: This is "only" the dmd frontend (lexer, parser, semantic passes, CTFE). Code generation will be more complicated.
Interesting. Did you have inline ASM in your code ? From my experience it required the backend to work, and couldn't be mocked, because else some flow analysis would go wrong (e.g. it would complain about missing `return`).