Skip to content

Commit bc56420

Browse files
committed
Disable outlining
The last toolchain bump exposed some issue with outlining, turn it off for now See rust-lang/rust#85351
1 parent c6f1b89 commit bc56420

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xtask/src/dist.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,8 @@ fn build(
495495
"-C link-arg=-Tlink.x \
496496
-L {} \
497497
-C link-arg=-z -C link-arg=common-page-size=0x20 \
498-
-C link-arg=-z -C link-arg=max-page-size=0x20",
498+
-C link-arg=-z -C link-arg=max-page-size=0x20 \
499+
-C llvm-args=--enable-machine-outliner=never",
499500
canonical_cargo_out_dir.display()
500501
),
501502
);

0 commit comments

Comments
 (0)