Skip to content

Commit 21b1b11

Browse files
committed
WIP: Implement dummy ThinLTO
FIXME: This seems very slow. ==> Not sure anymore: compare with the master branch.
1 parent 9ca7658 commit 21b1b11

File tree

5 files changed

+438
-42
lines changed

5 files changed

+438
-42
lines changed

build_system/src/config.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,10 @@ impl ConfigInfo {
426426

427427
// Since we don't support ThinLTO, disable LTO completely when not trying to do LTO.
428428
// TODO(antoyo): remove when we can handle ThinLTO.
429-
if !env.contains_key(&"FAT_LTO".to_string()) {
429+
// TODO: remove:
430+
/*if !env.contains_key(&"FAT_LTO".to_string()) {
430431
rustflags.push("-Clto=off".to_string());
431-
}
432+
}*/
432433
// FIXME(antoyo): remove once the atomic shim is gone
433434
if os_name == "Darwin" {
434435
rustflags.extend_from_slice(&[

0 commit comments

Comments
 (0)