mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
bootstrap: the backtrace feature is stable, no need to allow it any more
This commit is contained in:
parent
8ab71ab59f
commit
c8d346e527
@ -1556,13 +1556,12 @@ impl<'a> Builder<'a> {
|
||||
match mode {
|
||||
Mode::ToolBootstrap => {
|
||||
// Restrict the allowed features to those passed by rustbuild, so we don't depend on nightly accidentally.
|
||||
// HACK: because anyhow does feature detection in build.rs, we need to allow the backtrace feature too.
|
||||
rustflags.arg("-Zallow-features=binary-dep-depinfo,backtrace");
|
||||
rustflags.arg("-Zallow-features=binary-dep-depinfo");
|
||||
}
|
||||
Mode::ToolStd => {
|
||||
// Right now this is just compiletest and a few other tools that build on stable.
|
||||
// Allow them to use `feature(test)`, but nothing else.
|
||||
rustflags.arg("-Zallow-features=binary-dep-depinfo,test,backtrace,proc_macro_internals,proc_macro_diagnostic,proc_macro_span");
|
||||
rustflags.arg("-Zallow-features=binary-dep-depinfo,test,proc_macro_internals,proc_macro_diagnostic,proc_macro_span");
|
||||
}
|
||||
Mode::Std | Mode::Rustc | Mode::Codegen | Mode::ToolRustc => {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user