Skip to content

Commit 003eb36

Browse files
committed
Remove -Cinline-threshold=5 option from config.toml
It doesn't work anyway, see rust-lang/rust#124712
1 parent 2e8a7d6 commit 003eb36

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.cargo/config.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ target = "thumbv6m-none-eabi"
2323
# script. This is usually provided by the cortex-m-rt crate, and by default
2424
# the version in that crate will include a file called `memory.x` which
2525
# describes the particular memory layout for your specific chip.
26-
# * inline-threshold=5 makes the compiler more aggressive and inlining functions
2726
# * no-vectorize-loops turns off the loop vectorizer (seeing as the M0+ doesn't
2827
# have SIMD)
2928
rustflags = [
3029
"-C", "link-arg=--nmagic",
3130
"-C", "link-arg=-Tlink.x",
3231
"-C", "link-arg=-Tdefmt.x",
33-
"-C", "inline-threshold=5",
3432
"-C", "no-vectorize-loops",
3533
]
3634

0 commit comments

Comments
 (0)