Skip to content

Commit 36b5031

Browse files
committed
Suppress machine outliner to fix LLVM 12 bug.
rust-lang/rust#85351
1 parent c6f1b89 commit 36b5031

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xtask/src/dist.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ fn build(
493493
"RUSTFLAGS",
494494
&format!(
495495
"-C link-arg=-Tlink.x \
496+
-C llvm-args=--enable-machine-outliner=never \
496497
-L {} \
497498
-C link-arg=-z -C link-arg=common-page-size=0x20 \
498499
-C link-arg=-z -C link-arg=max-page-size=0x20",

0 commit comments

Comments
 (0)