From b18c275f3df437290c485ade142e3f5fb9bbaf98 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 5 Sep 2019 08:06:23 +0100 Subject: [PATCH] u-fix-cross-compiling-1.35-1.34-stage0 Gbp-Pq: Name u-fix-cross-compiling-1.35-1.34-stage0.patch --- src/bootstrap/bin/rustc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.30.2