Skip to content

Commit

Permalink
Remove CFG_PLATFORM
Browse files Browse the repository at this point in the history
It seems to be unused and it is incorrect for arm/aarch64 anyway.
  • Loading branch information
bjorn3 committed Feb 17, 2022
1 parent a240ccd commit 94fd78d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 94fd78d

Please sign in to comment.