diff options
| author | Ben Gamari <[email protected]> | 2021-07-31 10:40:29 -0400 |
|---|---|---|
| committer | Ben Gamari <[email protected]> | 2021-07-31 13:01:15 -0400 |
| commit | 3420cbf744d13bc1b90ac1d2cd5434b2b416a036 (patch) | |
| tree | 21e48a1f5acdf93822fe59515cfdd99e13813cde /examples/nrf | |
| parent | 3835278567e05014158eeede15d62a57ee105518 (diff) | |
examples: Drop build-std = ["core"]
Previously the cargo configurations of all of the example projects had
`build-std = ["core"]`, which forces compilation of `core` as a
code-size optimisation. However, this is strictly unnecessary and will
currently break for users who do not use `rustup` directly (e.g. nix
users).
Diffstat (limited to 'examples/nrf')
| -rw-r--r-- | examples/nrf/.cargo/config.toml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/nrf/.cargo/config.toml b/examples/nrf/.cargo/config.toml index 58ac3debd..0151d1ed5 100644 --- a/examples/nrf/.cargo/config.toml +++ b/examples/nrf/.cargo/config.toml | |||
| @@ -1,6 +1,3 @@ | |||
| 1 | [unstable] | ||
| 2 | build-std = ["core"] | ||
| 3 | |||
| 4 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] |
| 5 | # replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips` | 2 | # replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips` |
| 6 | runner = "probe-run --chip nRF52840_xxAA" | 3 | runner = "probe-run --chip nRF52840_xxAA" |
