pass -nostartfiles to the linker

This commit is contained in:
Jorge Aparicio 2016-10-07 07:13:55 -05:00
parent 213d929f86
commit 1c9094814d

11
.cargo/config Normal file
View 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"]