Merge pull request #7 from jedahan/cross-compile

Add armhf support for cross compilation
This commit is contained in:
Wesley Moore 2019-01-22 10:12:07 +13:00 committed by GitHub
commit 38789231ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"