Эх сурвалжийг харах

pass -nostartfiles to the linker

Jorge Aparicio 8 жил өмнө
parent
commit
1c9094814d
1 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 11 0
      .cargo/config

+ 11 - 0
.cargo/config

@@ -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"]