Open
Description
openedon Aug 11, 2024
--- stderr -------------------------------
error: unexpected `--cfg windows` flag
|
= note: config `windows` is only supposed to be controlled by `--target`
= note: manually setting a built-in cfg can and does create incoherent behaviors
= note: `#[deny(explicit_builtin_cfgs_in_flags)]` on by default
error: aborting due to 1 previous error
compiletest will try to set a --cfg <revision_name>
that matches the revision name, but this goes poorly if the <revision_name>
collides with a builtin cfg. Builtin cfgs can be found at
test
revision name because it has special meaning cfg(test)
.Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: The compiletest test runnerCategory: This is a bug.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Projects
Status
Backlog