Fix config pickup behaviour so that both examples and usage-examples build

correctly
This commit is contained in:
datdenkikniet 2023-04-15 21:16:45 +02:00
parent 859cd418f0
commit d838286de6
4 changed files with 39 additions and 15 deletions

View file

@ -2,13 +2,5 @@
xtask = "run --package xtask --"
pxtask = "run --package xtask --features rayon --"
[target.thumbv6m-none-eabi]
runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
[target.thumbv7m-none-eabi]
runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [
"-C", "link-arg=-Tlink.x",
]
# Don't define the RUSTFLAGS link.x thing here: it messes
# up compilation of the usage examples.