From bf1e1c7f55dbf890fc92fb31a845a8b424efc230 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Mon, 17 May 2021 13:55:41 -0400 Subject: [PATCH] Disable outlining The last toolchain bump exposed some issue with outlining, turn it off for now See https://github.com/rust-lang/rust/issues/85351 --- xtask/src/dist.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 6fc344723..16766dfdd 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -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() ), );