aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf
diff options
context:
space:
mode:
authorBen Gamari <[email protected]>2021-07-31 10:40:29 -0400
committerBen Gamari <[email protected]>2021-07-31 13:01:15 -0400
commit3420cbf744d13bc1b90ac1d2cd5434b2b416a036 (patch)
tree21e48a1f5acdf93822fe59515cfdd99e13813cde /examples/nrf
parent3835278567e05014158eeede15d62a57ee105518 (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.toml3
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]
2build-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`
6runner = "probe-run --chip nRF52840_xxAA" 3runner = "probe-run --chip nRF52840_xxAA"