We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Zexternal-macro-backtrace
1 parent 4f35166 commit 812117aCopy full SHA for 812117a
src/bootstrap/bin/rustc.rs
@@ -124,8 +124,6 @@ fn main() {
124
cmd.arg("--sysroot").arg(&sysroot);
125
}
126
127
- cmd.arg("-Zexternal-macro-backtrace");
128
-
129
// Link crates to the proc macro crate for the target, but use a host proc macro crate
130
// to actually run the macros
131
if env::var_os("RUST_DUAL_PROC_MACROS").is_some() {
src/bootstrap/builder.rs
@@ -872,6 +872,8 @@ impl<'a> Builder<'a> {
872
rustflags.arg("-Zforce-unstable-if-unmarked");
873
874
875
+ rustflags.arg("-Zexternal-macro-backtrace");
876
+
877
let want_rustdoc = self.doc_tests != DocTests::No;
878
879
// We synthetically interpret a stage0 compiler used to build tools as a
0 commit comments