Remove nightly-only flags from cargo configs.

This commit is contained in:
Dario Nieuwenhuis 2024-01-22 21:29:25 +01:00
parent 20fd03a14f
commit 9f76dbb93b
5 changed files with 12 additions and 12 deletions
examples/boot
.cargo
application/rp/.cargo
bootloader/nrf/.cargo
tests
rp/.cargo
stm32/.cargo

View file

@ -1,6 +1,6 @@
[unstable] [unstable]
build-std = ["core"] #build-std = ["core"]
build-std-features = ["panic_immediate_abort"] #build-std-features = ["panic_immediate_abort"]
[build] [build]
target = "thumbv7em-none-eabi" target = "thumbv7em-none-eabi"

View file

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

View file

@ -1,6 +1,6 @@
[unstable] [unstable]
build-std = ["core"] #build-std = ["core"]
build-std-features = ["panic_immediate_abort"] #build-std-features = ["panic_immediate_abort"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
#runner = "./fruitrunner" #runner = "./fruitrunner"
@ -8,7 +8,7 @@ runner = "probe-rs run --chip nrf52840_xxAA"
rustflags = [ rustflags = [
# Code-size optimizations. # Code-size optimizations.
"-Z", "trap-unreachable=no", #"-Z", "trap-unreachable=no",
#"-C", "no-vectorize-loops", #"-C", "no-vectorize-loops",
"-C", "force-frame-pointers=yes", "-C", "force-frame-pointers=yes",
] ]

View file

@ -10,7 +10,7 @@ runner = "teleprobe client run"
rustflags = [ rustflags = [
# Code-size optimizations. # Code-size optimizations.
"-Z", "trap-unreachable=no", #"-Z", "trap-unreachable=no",
"-C", "inline-threshold=5", "-C", "inline-threshold=5",
"-C", "no-vectorize-loops", "-C", "no-vectorize-loops",
] ]

View file

@ -1,6 +1,6 @@
[unstable] [unstable]
build-std = ["core"] #build-std = ["core"]
build-std-features = ["panic_immediate_abort"] #build-std-features = ["panic_immediate_abort"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "teleprobe client run" runner = "teleprobe client run"
@ -8,7 +8,7 @@ runner = "teleprobe client run"
rustflags = [ rustflags = [
# Code-size optimizations. # Code-size optimizations.
"-Z", "trap-unreachable=no", #"-Z", "trap-unreachable=no",
"-C", "inline-threshold=5", "-C", "inline-threshold=5",
"-C", "no-vectorize-loops", "-C", "no-vectorize-loops",
] ]