Skip to content

Commit

Permalink
Remove -Cinline-threshold=5 option from config.toml (#822)
Browse files Browse the repository at this point in the history
It doesn't work anyway, see rust-lang/rust#124712
  • Loading branch information
jannic authored Jul 26, 2024
1 parent 2e8a7d6 commit 956668e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ target = "thumbv6m-none-eabi"
# script. This is usually provided by the cortex-m-rt crate, and by default
# the version in that crate will include a file called `memory.x` which
# describes the particular memory layout for your specific chip.
# * inline-threshold=5 makes the compiler more aggressive and inlining functions
# * no-vectorize-loops turns off the loop vectorizer (seeing as the M0+ doesn't
# have SIMD)
rustflags = [
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
]

Expand Down

0 comments on commit 956668e

Please sign in to comment.