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 | |
| 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')
| -rw-r--r-- | examples/nrf/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/rp/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32f4/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32l0/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32l4/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32wb55/.cargo/config.toml | 3 |
6 files changed, 0 insertions, 18 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" |
diff --git a/examples/rp/.cargo/config.toml b/examples/rp/.cargo/config.toml index 1bbbe97da..9b852b8e9 100644 --- a/examples/rp/.cargo/config.toml +++ b/examples/rp/.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 | runner = "probe-run-rp --chip RP2040" | 2 | runner = "probe-run-rp --chip RP2040" |
| 6 | 3 | ||
diff --git a/examples/stm32f4/.cargo/config.toml b/examples/stm32f4/.cargo/config.toml index 8704a9ba5..7563d2616 100644 --- a/examples/stm32f4/.cargo/config.toml +++ b/examples/stm32f4/.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 STM32F429ZITx with your chip as listed in `probe-run --list-chips` | 2 | # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` |
| 6 | runner = "probe-run --chip STM32F429ZITx" | 3 | runner = "probe-run --chip STM32F429ZITx" |
diff --git a/examples/stm32l0/.cargo/config.toml b/examples/stm32l0/.cargo/config.toml index 0528db9fb..084722ca1 100644 --- a/examples/stm32l0/.cargo/config.toml +++ b/examples/stm32l0/.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 your chip as listed in `probe-run --list-chips` | 2 | # replace your chip as listed in `probe-run --list-chips` |
| 6 | runner = "probe-run --chip STM32L072CZ" | 3 | runner = "probe-run --chip STM32L072CZ" |
diff --git a/examples/stm32l4/.cargo/config.toml b/examples/stm32l4/.cargo/config.toml index 19ea6f560..38dd98d1e 100644 --- a/examples/stm32l4/.cargo/config.toml +++ b/examples/stm32l4/.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 STM32F429ZITx with your chip as listed in `probe-run --list-chips` | 2 | # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` |
| 6 | runner = "probe-run --chip STM32L4S5VI" | 3 | runner = "probe-run --chip STM32L4S5VI" |
diff --git a/examples/stm32wb55/.cargo/config.toml b/examples/stm32wb55/.cargo/config.toml index 9df740898..b535b66d6 100644 --- a/examples/stm32wb55/.cargo/config.toml +++ b/examples/stm32wb55/.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 STM32WB55CCUx with your chip as listed in `probe-run --list-chips` | 2 | # replace STM32WB55CCUx with your chip as listed in `probe-run --list-chips` |
| 6 | runner = "probe-run --chip STM32WB55CCUx --speed 1000 --connect-under-reset" | 3 | runner = "probe-run --chip STM32WB55CCUx --speed 1000 --connect-under-reset" |
