Skip to content

compiletest should warn on redundant --cfg compile-flags #131390

Closed
@jieyouxu

Description

@jieyouxu

If you specify a revision //@ revisions: foo, compiletest will create a cfg of the same name and run the revision with --cfg foo. The user does not need to manually specify //@ compile-flags: --cfg foo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions