Skip to content

Commit

Permalink
Disable outlining
Browse files Browse the repository at this point in the history
The last toolchain bump exposed some issue with outlining, turn
it off for now

See rust-lang/rust#85351
  • Loading branch information
labbott committed May 17, 2021
1 parent c6f1b89 commit bf1e1c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xtask/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ fn build(
"-C link-arg=-Tlink.x \
-L {} \
-C link-arg=-z -C link-arg=common-page-size=0x20 \
-C link-arg=-z -C link-arg=max-page-size=0x20",
-C link-arg=-z -C link-arg=max-page-size=0x20 \
-C llvm-args=--enable-machine-outliner=never",
canonical_cargo_out_dir.display()
),
);
Expand Down

0 comments on commit bf1e1c7

Please sign in to comment.