Skip to content

Commit

Permalink
Remove --enable-machine-outliner=never LLVM arg
Browse files Browse the repository at this point in the history
Rust 1.53.0 automatically sets the --enable-machine-outliner=never LLVM
argument [0] [1].  As we also set this option in
runners/lpc55/.cargo/config, we currently get a compliation error.  This
patch removes the option from our cargo configuration to fix the build.

[0] rust-lang/rust@c63a1c0
[1] rust-lang/rust#86020
  • Loading branch information
robin-nitrokey committed Jul 5, 2021
1 parent 1682d78 commit ddedba4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion runners/lpc55/.cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ 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",
]

Expand Down

0 comments on commit ddedba4

Please sign in to comment.