Skip to content

Commit e1bf069

Browse files
authored
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.
2 parents 6dc62f4 + 94fd78d commit e1bf069

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/bootstrap/dist.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1877,12 +1877,6 @@ fn add_env(builder: &Builder<'_>, cmd: &mut Command, target: TargetSelection) {
18771877
} else {
18781878
cmd.env("CFG_MINGW", "0").env("CFG_ABI", "MSVC");
18791879
}
1880-
1881-
if target.contains("x86_64") {
1882-
cmd.env("CFG_PLATFORM", "x64");
1883-
} else {
1884-
cmd.env("CFG_PLATFORM", "x86");
1885-
}
18861880
}
18871881

18881882
/// Maybe add LLVM object files to the given destination lib-dir. Allows either static or dynamic linking.

0 commit comments

Comments
 (0)