Skip to content

Add a -main-is flag to rustc #2403

Closed
Closed
@catamorphism

Description

@catamorphism

Add a -main-is flag to specify the name of the main function if it's called something other than main. Then allow it to be set if only trans is getting called, so the FIXME in front::test::fold_mod can be resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions