[ci] run qemu for both GNU LD and rustc's LLD. (fix)
@@ -71,9 +71,9 @@ main() {
case $TARGET in
thumbv6m-none-eabi|thumbv7m-none-eabi)
# linking with GNU LD
- cargo run --target $TARGET --example qemu \
+ cargo run --target $TARGET --example qemu -- \
-C linker=arm-none-eabi-ld | grep "x = 42"
- cargo run --target $TARGET --example qemu --release \
+ 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"
