aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cortex-m-rt/ci/script.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh
index 9e4900b..bab3dc9 100644
--- a/cortex-m-rt/ci/script.sh
+++ b/cortex-m-rt/ci/script.sh
@@ -70,6 +70,12 @@ main() {
case $TARGET in
thumbv6m-none-eabi|thumbv7m-none-eabi)
+ # linking with GNU LD
+ cargo run --target $TARGET --example qemu \
+ -C linker=arm-none-eabi-ld | grep "x = 42"
+ cargo run --target $TARGET --example qemu --release \
+ -C linker=arm-none-eabi-ld | grep "x = 42"
+ # linking with rustc's LLD
cargo run --target $TARGET --example qemu | grep "x = 42"
cargo run --target $TARGET --example qemu --release | grep "x = 42"
;;