diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-08-15 13:46:54 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-09-23 09:34:44 -0700 |
| commit | c36849a542cdff30f7eaa829433f31d4bcb79c56 (patch) | |
| tree | fd04f9d21a49f8d5b50b5f92936b615c970dbb3f /src/bootstrap/bin | |
| parent | 812117af532d1eb8fd90c789f5cafe3c45b80437 (diff) | |
bootstrap: Move `-Zdual-proc-macros` to `builder.rs`
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 3c836ce261d..1955ca4aa99 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -124,12 +124,6 @@ fn main() { cmd.arg("--sysroot").arg(&sysroot); } - // 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() { - cmd.arg("-Zdual-proc-macros"); - } - // When we build Rust dylibs they're all intended for intermediate // usage, so make sure we pass the -Cprefer-dynamic flag instead of // linking all deps statically into the dylib. |
