Skip to content

Commit 5de15be

Browse files
authored
Auto merge of #38046 - rkruppe:fix-32bit-rustbuild, r=alexcrichton
Fix rustbuild on 32 bit Linux This is cherry-picked from #37817 which seems to be stalled and currently needs to be rebased anyway. r? @alexcrichton (who authored this change)
2 parents 1c44857 + 02249e8 commit 5de15be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcompiler_builtins/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ fn main() {
9494
cfg.flag("-fvisibility=hidden");
9595
cfg.flag("-fomit-frame-pointer");
9696
cfg.flag("-ffreestanding");
97+
cfg.define("VISIBILITY_HIDDEN", None);
9798
}
9899

99100
let mut sources = Sources::new();

0 commit comments

Comments
 (0)