diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-15 21:16:45 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-04-16 13:08:46 +0200 |
| commit | d838286de679a1ac35ea79999816418cd02b7259 (patch) | |
| tree | c98736f11bfdac5c4c46e6299436aeed529387e5 /.cargo | |
| parent | 859cd418f063590a9928b3e43caeea0b53dc0823 (diff) | |
Fix config pickup behaviour so that both examples and usage-examples build
correctly
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config.toml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 0a62466..ea1655c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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. |
