bootstrap: Move -Zexternal-macro-backtrace to builder

No need for this to be in `rustc.rs`
This commit is contained in:
Alex Crichton 2019-08-15 13:46:07 -07:00
parent 4f35166f80
commit 812117af53
2 changed files with 2 additions and 2 deletions

View file

@ -124,8 +124,6 @@ fn main() {
cmd.arg("--sysroot").arg(&sysroot);
}
cmd.arg("-Zexternal-macro-backtrace");
// Link crates to the proc macro crate for the target, but use a host proc macro crate
// to actually run the macros
if env::var_os("RUST_DUAL_PROC_MACROS").is_some() {

View file

@ -872,6 +872,8 @@ impl<'a> Builder<'a> {
rustflags.arg("-Zforce-unstable-if-unmarked");
}
rustflags.arg("-Zexternal-macro-backtrace");
let want_rustdoc = self.doc_tests != DocTests::No;
// We synthetically interpret a stage0 compiler used to build tools as a