From: Debian Rust Maintainers Date: Sat, 13 Jul 2019 17:30:35 +0000 (+0100) Subject: u-fix-cross-compiling-1.35-1.34-stage0 X-Git-Tag: archive/raspbian/1.35.0+dfsg1-1+rpi1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=913df54dda9ac58de56f5119f6092e6b87ff3803;p=rustc.git u-fix-cross-compiling-1.35-1.34-stage0 Gbp-Pq: Name u-fix-cross-compiling-1.35-1.34-stage0.patch --- diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index a76584093f..1558907bba 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -111,7 +111,7 @@ fn main() { // 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() { + if env::var_os("RUST_DUAL_PROC_MACROS").is_some() && stage != "0" { cmd.arg("-Zdual-proc-macros"); }