u-fix-cross-compiling-1.35-1.34-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 13 Jul 2019 17:30:35 +0000 (18:30 +0100)
committerXimin Luo <infinity0@debian.org>
Sat, 13 Jul 2019 17:30:35 +0000 (18:30 +0100)
Gbp-Pq: Name u-fix-cross-compiling-1.35-1.34-stage0.patch

src/bootstrap/bin/rustc.rs

index a76584093fc760acd40ba40dee4574a9e58973d7..1558907bbafe237bc55142ca27e4acbfe13a57c2 100644 (file)
@@ -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");
         }