Skip to content

Commit 419ce79

Browse files
committed
Remove linker=rust-lld flag from docs & .cargo/config
@adamgreig suggested that I remove these linker flags when he reviewed PR #132 since this is now the default linker. This commit removes the ```"-C", "linker=rust-lld"``` option from rustflags in the actual .cargo/config project build files and the documentation which refers to the contents of these files.
1 parent 1018608 commit 419ce79

File tree

11 files changed

+0
-11
lines changed

11 files changed

+0
-11
lines changed

src/05-led-roulette/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]

src/05-led-roulette/the-challenge.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ $ cat .cargo/config
4949
[target.thumbv7em-none-eabihf]
5050
runner = "arm-none-eabi-gdb -q -x openocd.gdb" # <-
5151
rustflags = [
52-
"-C", "linker=rust-lld",
5352
"-C", "link-arg=-Tlink.x",
5453
]
5554
```

src/06-hello-world/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]

src/06-hello-world/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ default target in .cargo/config:
7979
[target.thumbv7em-none-eabihf]
8080
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
8181
rustflags = [
82-
"-C", "linker=rust-lld",
8382
"-C", "link-arg=-Tlink.x",
8483
]
8584

src/07-registers/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/08-leds-again/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/09-clocks-and-timers/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/11-usart/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/14-i2c/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/15-led-compass/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

0 commit comments

Comments
 (0)