mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
Merge #738
738: comment on how to link on macOS apple silicon machine r=korken89 a=mike-kfed probably messes with building on other OS, so I made it a comment, but I figure this can be useful for macOS users to have it link successfully. Co-authored-by: Michael Kefeder <m.kefeder@gmail.com>
This commit is contained in:
commit
ba134050fb
1 changed files with 5 additions and 0 deletions
|
@ -36,3 +36,8 @@ opt-level = "s" # optimize for size
|
||||||
codegen-units = 1 # better optimizations
|
codegen-units = 1 # better optimizations
|
||||||
debug = true # symbols are nice and they don't increase the size on Flash
|
debug = true # symbols are nice and they don't increase the size on Flash
|
||||||
lto = true # better optimzations
|
lto = true # better optimzations
|
||||||
|
|
||||||
|
[features]
|
||||||
|
# avoid having to use --allow-multiple-definition linker flag
|
||||||
|
# on macOS with Apple Silicon at least
|
||||||
|
#default = ["rp-pico/disable-intrinsics"]
|
||||||
|
|
Loading…
Reference in a new issue