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

src/bootstrap/bin/rustc.rs

index 821c37dc235969eaded9f4505287e86cfb9307b5..1080f8f5fb81c640dfdc0a812936b0849c1a4ff6 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");
         }