fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
2.1 KiB45 linesraw
1[target.thumbv6m-none-eabi]
2# FIXME: Should be Cortex-M0, but Qemu used by CI is too old
3runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
4
5[target.thumbv7m-none-eabi]
6runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
7
8[target.thumbv7em-none-eabi]
9runner = "qemu-system-arm -cpu cortex-m4 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
10
11[target.thumbv7em-none-eabihf]
12runner = "qemu-system-arm -cpu cortex-m4 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
13
14[target.thumbv8m.base-none-eabi]
15# FIXME: Should be the Cortex-M23, bt Qemu does not currently support it
16runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
17
18[target.thumbv8m.main-none-eabi]
19runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
20
21[target.thumbv8m.main-none-eabihf]
22runner = "qemu-system-arm -cpu cortex-m33 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
23
24[target.'cfg(all(target_arch = "arm", target_os = "none"))']
25# uncomment ONE of these three option to make `cargo run` start a GDB session
26# which option to pick depends on your system
27# runner = "arm-none-eabi-gdb -q -x openocd.gdb"
28# runner = "gdb-multiarch -q -x openocd.gdb"
29# runner = "gdb -q -x openocd.gdb"
30
31rustflags = [
32  # LLD (shipped with the Rust toolchain) is used as the default linker
33  "-C", "link-arg=-Tlink.x",
34
35  # if you run into problems with LLD switch to the GNU linker by commenting out
36  # this line
37  # "-C", "linker=arm-none-eabi-ld",
38
39  # if you need to link to pre-compiled C libraries provided by a C toolchain
40  # use GCC as the linker by commenting out both lines above and then
41  # uncommenting the three lines below
42  # "-C", "linker=arm-none-eabi-gcc",
43  # "-C", "link-arg=-Wl,-Tlink.x",
44  # "-C", "link-arg=-nostartfiles",
45]