pass -nostartfiles to the linker
This commit is contained in:
parent
213d929f86
commit
1c9094814d
11
.cargo/config
Normal file
11
.cargo/config
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[target.thumbv6m-none-eabi]
|
||||||
|
rustflags = ["-C", "link-arg=-nostartfiles"]
|
||||||
|
|
||||||
|
[target.thumbv7m-none-eabi]
|
||||||
|
rustflags = ["-C", "link-arg=-nostartfiles"]
|
||||||
|
|
||||||
|
[target.thumbv7em-none-eabi]
|
||||||
|
rustflags = ["-C", "link-arg=-nostartfiles"]
|
||||||
|
|
||||||
|
[target.thumbv7em-none-eabihf]
|
||||||
|
rustflags = ["-C", "link-arg=-nostartfiles"]
|
Loading…
Reference in New Issue
Block a user