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:
parent
3835278567
commit
3420cbf744
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user