From 6219046521c819ad1049d25d303491325a6ca974 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Mon, 21 Jan 2019 13:12:28 -0500 Subject: [PATCH] Add armhf support for cross compilation --- .cargo/config | 2 ++ Cross.toml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .cargo/config create mode 100644 Cross.toml diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..112515e --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[target.arm-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..a7772be --- /dev/null +++ b/Cross.toml @@ -0,0 +1,2 @@ +[target.arm-unknown-linux-gnueabihf] +image = "rustcross/arm-unknown-linux-gnueabihf"