diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-17 15:32:35 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-02-17 15:32:35 +0100 |
| commit | 94fd78d4921a8cdfb3ab9415f56c10156ebc413d (patch) | |
| tree | 42a748bb64c0d3108b23b337256cb7268676548f /src/bootstrap | |
| parent | a240ccd81c74c105b6f5fe84c46f8d36edb7e306 (diff) | |
| download | rust-94fd78d4921a8cdfb3ab9415f56c10156ebc413d.tar.gz rust-94fd78d4921a8cdfb3ab9415f56c10156ebc413d.zip | |
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 472ee3fb014..b6e87a6fd28 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1875,12 +1875,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. |
