With #![rustc_private] you could use the RunCompiler API. Not sure if you want to do that though. I think just executing rustc with Command is good enough.
Originally posted by @flip1995 in #7 (comment)
Let's experiment and see if it makes a good difference in test generation time. Currently, generating all test suites takes around 7 minutes which is quite long but not "horrible"