Skip to content

compiletest: Automatically specify -Zunstable-options when the edition header is set to an unstable edition #133582

@ehuss

Description

@ehuss

During each new edition, it is a bit of a hassle to add/remove -Zunstable-options headers for the next edition. I think it would be helpful to automatically specify -Zunstable-options when an edition header specifies an unstable edition. This means there would roughly be one place to make the switch (compiletest itself).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-needs-investigationCall for partcipation: This issues needs some investigation to determine current statusT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions