File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,10 @@ main() {
70
70
71
71
case $TARGET in
72
72
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"
73
+ # 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"
76
+
78
77
# linking with rustc's LLD
79
78
cargo run --target $TARGET --example qemu | grep " x = 42"
80
79
cargo run --target $TARGET --example qemu --release | grep " x = 42"
You can’t perform that action at this time.
0 commit comments