From: Debian Rust Maintainers Date: Thu, 5 Sep 2019 07:06:23 +0000 (+0100) Subject: u-fix-cross-compiling-1.35-1.34-stage0 X-Git-Tag: archive/raspbian/1.39.0+dfsg1-4+rpi1~2^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b18c275f3df437290c485ade142e3f5fb9bbaf98;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 595deb07ec..ba69c96d9c 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -134,7 +134,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"); }