Skip to content

Commit 061e557

Browse files
committed
[ci] now run qemu both for GNU LD and rustc's LLD.
1 parent c1e9507 commit 061e557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cortex-m-rt/ci/script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ main() {
7171
case $TARGET in
7272
thumbv6m-none-eabi|thumbv7m-none-eabi)
7373
# linking with GNU LD (not working now; needs Ctrl+a x to exit)
74-
#env RUSTFLAGS="-C linker=arm-none-eabi-ld" cargo run --target $TARGET --example qemu | grep "x = 42"
75-
#env RUSTFLAGS="-C linker=arm-none-eabi-ld" cargo run --target $TARGET --example qemu --release | grep "x = 42"
74+
env RUSTFLAGS="-C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu | grep "x = 42"
75+
env RUSTFLAGS="-C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu --release | grep "x = 42"
7676

7777
# linking with rustc's LLD
7878
cargo run --target $TARGET --example qemu | grep "x = 42"

0 commit comments

Comments
 (0)