Skip to content

Commit

Permalink
Merge pull request #79 from jannic-dev-forks/inline-threshold
Browse files Browse the repository at this point in the history
Remove inline-threshold linker flag
  • Loading branch information
jannic authored Aug 4, 2024
2 parents 81b24e2 + ff1ba47 commit 64fa7ea
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,13 +23,11 @@ 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", "inline-threshold=5",
"-C", "no-vectorize-loops",
]

Expand Down

0 comments on commit 64fa7ea

Please sign in to comment.