Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit 6dba1c1

Browse files
committed
cargo: include .cargo/config in source control tied to arm-none-eabi-
Checking in this config fragment is mentioned as being something that could be acceptable in the cargo documentation. This prevents non-gcc linkers for builds of the Zinc examples. I think this is likely an acceptable tradeoff, at least in the short term. Signed-off-by: Paul Osborne <[email protected]>
1 parent c4eec9f commit 6dba1c1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.cargo/config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[target.thumbv6-none-eabi]
2+
linker = "arm-none-eabi-gcc"
3+
ar = "arm-none-eabi-ar"
4+
5+
[target.thumbv7m-none-eabi]
6+
linker = "arm-none-eabi-gcc"
7+
ar = "arm-none-eabi-ar"
8+
9+
[target.thumbv7em-none-eabi]
10+
linker = "arm-none-eabi-gcc"
11+
ar = "arm-none-eabi-ar"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
.DS_Store
44
Cargo.lock
55
target
6-
.cargo
76
*.o
87
*.bin
98
*.lst

0 commit comments

Comments
 (0)