aboutsummaryrefslogtreecommitdiff
path: root/.cargo/config.toml
diff options
context:
space:
mode:
authordatdenkikniet <jcdra1@gmail.com>2023-04-15 21:16:45 +0200
committerdatdenkikniet <jcdra1@gmail.com>2023-04-16 13:08:46 +0200
commitd838286de679a1ac35ea79999816418cd02b7259 (patch)
treec98736f11bfdac5c4c46e6299436aeed529387e5 /.cargo/config.toml
parent859cd418f063590a9928b3e43caeea0b53dc0823 (diff)
Fix config pickup behaviour so that both examples and usage-examples build
correctly
Diffstat (limited to '.cargo/config.toml')
-rw-r--r--.cargo/config.toml12
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.