Skip to content

Commit

Permalink
Suppress machine outliner to fix LLVM 12 bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiffle committed May 17, 2021
1 parent c6f1b89 commit 36b5031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xtask/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ fn build(
"RUSTFLAGS",
&format!(
"-C link-arg=-Tlink.x \
-C llvm-args=--enable-machine-outliner=never \
-L {} \
-C link-arg=-z -C link-arg=common-page-size=0x20 \
-C link-arg=-z -C link-arg=max-page-size=0x20",
Expand Down

0 comments on commit 36b5031

Please sign in to comment.