about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-28 21:02:12 +0000
committerbors <bors@rust-lang.org>2019-02-28 21:02:12 +0000
commit350674b7180a41c8e508d93c6ab8e203b69d3df7 (patch)
treee27a82e677e472550536820a8af2390d8f1da364 /src/bootstrap
parent1999a2288123173b2e487865c9a04386173025f7 (diff)
parent23a51f91c928a4ff2cbf39218e6e991365e5f562 (diff)
downloadrust-350674b7180a41c8e508d93c6ab8e203b69d3df7.tar.gz
rust-350674b7180a41c8e508d93c6ab8e203b69d3df7.zip
Auto merge of #58250 - Zoxc:rustc-interface-1, r=oli-obk
Introduce rustc_interface and move some methods there

Split out from https://github.com/rust-lang/rust/pull/56732

r? @oli-obk
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bin/rustc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index b6afe317a07..70e4a69a07d 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -107,6 +107,8 @@ fn main() {
         // actually downloaded, so we just always pass the `--sysroot` option.
         cmd.arg("--sysroot").arg(&sysroot);
 
+        cmd.arg("-Zexternal-macro-backtrace");
+
         // When we build Rust dylibs they're all intended for intermediate
         // usage, so make sure we pass the -Cprefer-dynamic flag instead of
         // linking all deps statically into the dylib.