From: Debian Rust Maintainers Date: Thu, 18 Jul 2019 01:25:06 +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^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=68536f500bc9fc2569739a419a29553553818620;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 821c37dc23..1080f8f5fb 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"); }