Skip to content

Commit 94fd78d

Browse files
committed
Remove CFG_PLATFORM
It seems to be unused and it is incorrect for arm/aarch64 anyway.
1 parent a240ccd commit 94fd78d

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
@@ -1875,12 +1875,6 @@ fn add_env(builder: &Builder<'_>, cmd: &mut Command, target: TargetSelection) {
18751875
} else {
18761876
cmd.env("CFG_MINGW", "0").env("CFG_ABI", "MSVC");
18771877
}
1878-
1879-
if target.contains("x86_64") {
1880-
cmd.env("CFG_PLATFORM", "x64");
1881-
} else {
1882-
cmd.env("CFG_PLATFORM", "x86");
1883-
}
18841878
}
18851879

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

0 commit comments

Comments
 (0)