Skip to content

Commit 1831c76

Browse files
committed
[ci] run qemu for both GNU LD and rustc's LLD.
1 parent a912bf9 commit 1831c76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cortex-m-rt/ci/script.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ main() {
7070

7171
case $TARGET in
7272
thumbv6m-none-eabi|thumbv7m-none-eabi)
73+
# linking with GNU LD
74+
cargo run --target $TARGET --example qemu \
75+
-C linker=arm-none-eabi-ld | grep "x = 42"
76+
cargo run --target $TARGET --example qemu --release \
77+
-C linker=arm-none-eabi-ld | grep "x = 42"
78+
# linking with rustc's LLD
7379
cargo run --target $TARGET --example qemu | grep "x = 42"
7480
cargo run --target $TARGET --example qemu --release | grep "x = 42"
7581
;;

0 commit comments

Comments
 (0)