diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-17 23:01:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-17 23:01:02 +0100 |
| commit | e1bf0694820f2a9e62c66512f40aa767258c1a74 (patch) | |
| tree | 3f1a6c1b7fdb1ecba84122a99023ca0d2b59f59f /src/bootstrap | |
| parent | 6dc62f421dcfb14f10a658de40c5140a083b3aed (diff) | |
| parent | 94fd78d4921a8cdfb3ab9415f56c10156ebc413d (diff) | |
| download | rust-e1bf0694820f2a9e62c66512f40aa767258c1a74.tar.gz rust-e1bf0694820f2a9e62c66512f40aa767258c1a74.zip | |
Rollup merge of #94082 - bjorn3:remove_cfg_platform, r=Mark-Simulacrum
Remove CFG_PLATFORM It seems to be unused and it is incorrect for arm/aarch64 anyway.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/dist.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 013687ce377..029049d5434 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1877,12 +1877,6 @@ fn add_env(builder: &Builder<'_>, cmd: &mut Command, target: TargetSelection) { } else { cmd.env("CFG_MINGW", "0").env("CFG_ABI", "MSVC"); } - - if target.contains("x86_64") { - cmd.env("CFG_PLATFORM", "x64"); - } else { - cmd.env("CFG_PLATFORM", "x86"); - } } /// Maybe add LLVM object files to the given destination lib-dir. Allows either static or dynamic linking. |
