Add a -main-is flag to rustc #2403
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Milestone
Add a
-main-is
flag to specify the name of the main function if it's called something other thanmain
. Then allow it to be set if only trans is getting called, so the FIXME infront::test::fold_mod
can be resolved.The text was updated successfully, but these errors were encountered: