提交 812117af 编写于 作者: A Alex Crichton

bootstrap: Move `-Zexternal-macro-backtrace` to builder

No need for this to be in `rustc.rs`
上级 4f35166f
......@@ -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() {
......
......@@ -872,6 +872,8 @@ pub fn cargo(
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册