diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-04-20 18:59:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 18:59:35 +0000 |
| commit | ba134050fbcc870ee29e23c98366bf80511f6814 (patch) | |
| tree | 610bb7f0f3559bc61c90acc3865a6ca4a73b8cbe | |
| parent | 688ba1cf5b777995b777f6ec9555b69cced5a218 (diff) | |
| parent | cb1cc4d49575afe5408cef037c011168c7fcd43e (diff) | |
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>
| -rw-r--r-- | examples/rp2040_local_i2c_init/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rp2040_local_i2c_init/Cargo.toml b/examples/rp2040_local_i2c_init/Cargo.toml index c8e475a..9174ad0 100644 --- a/examples/rp2040_local_i2c_init/Cargo.toml +++ b/examples/rp2040_local_i2c_init/Cargo.toml @@ -36,3 +36,8 @@ opt-level = "s" # optimize for size codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash 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"] |
