[ci] run qemu for both GNU LD and rustc's LLD.
@@ -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"
;;
