From c9550f63329d3a09b1ea36391e08ed6eb80debc2 Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Thu, 27 May 2021 14:25:48 -0700 Subject: [PATCH] prevent subtle rust toolchain compiler error https://github.com/rust-lang/rust/issues/85351 --- runners/lpc55/.cargo/config | 1 + 1 file changed, 1 insertion(+) diff --git a/runners/lpc55/.cargo/config b/runners/lpc55/.cargo/config index 8fec6e14..4347de03 100644 --- a/runners/lpc55/.cargo/config +++ b/runners/lpc55/.cargo/config @@ -3,6 +3,7 @@ runner = "arm-none-eabi-gdb -q -x jlink.gdb" rustflags = [ "-C", "linker=flip-link", "-C", "link-arg=-Tlink.x", + "-C", "llvm-args=--enable-machine-outliner=never", "-Dwarnings", ]