Add armhf support for cross compilation

This commit is contained in:
Jonathan Dahan 2019-01-21 13:12:28 -05:00
parent ca93d12c91
commit 6219046521
2 changed files with 4 additions and 0 deletions

2
.cargo/config Normal file
View file

@ -0,0 +1,2 @@
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"

2
Cross.toml Normal file
View file

@ -0,0 +1,2 @@
[target.arm-unknown-linux-gnueabihf]
image = "rustcross/arm-unknown-linux-gnueabihf"