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).
This commit is contained in:
Ben Gamari 2021-07-31 10:40:29 -04:00
parent 3835278567
commit 3420cbf744
6 changed files with 0 additions and 18 deletions

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips` # replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips`
runner = "probe-run --chip nRF52840_xxAA" runner = "probe-run --chip nRF52840_xxAA"

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-run-rp --chip RP2040" runner = "probe-run-rp --chip RP2040"

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips`
runner = "probe-run --chip STM32F429ZITx" runner = "probe-run --chip STM32F429ZITx"

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace your chip as listed in `probe-run --list-chips` # replace your chip as listed in `probe-run --list-chips`
runner = "probe-run --chip STM32L072CZ" runner = "probe-run --chip STM32L072CZ"

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips`
runner = "probe-run --chip STM32L4S5VI" runner = "probe-run --chip STM32L4S5VI"

View File

@ -1,6 +1,3 @@
[unstable]
build-std = ["core"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace STM32WB55CCUx with your chip as listed in `probe-run --list-chips` # replace STM32WB55CCUx with your chip as listed in `probe-run --list-chips`
runner = "probe-run --chip STM32WB55CCUx --speed 1000 --connect-under-reset" runner = "probe-run --chip STM32WB55CCUx --speed 1000 --connect-under-reset"