Skip to content

Commit

Permalink
Rollup merge of #94082 - bjorn3:remove_cfg_platform, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Remove CFG_PLATFORM

It seems to be unused and it is incorrect for arm/aarch64 anyway.
  • Loading branch information
matthiaskrgr authored Feb 17, 2022
2 parents 6dc62f4 + 94fd78d commit e1bf069
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 @@ -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.
Expand Down

0 comments on commit e1bf069

Please sign in to comment.