From 5085d8e18ae0ece81f92a6ccc2007ec994cd2d09 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 22 Jun 2020 03:43:10 +0200 Subject: Add cargo config for cross-compiling --- .cargo/config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..1ff397d --- /dev/null +++ b/.cargo/config @@ -0,0 +1,6 @@ +[target.x86_64-pc-windows-gnu] +linker = "/usr/bin/x86_64-w64-mingw32-gcc" +ar = "/usr/x86_64-w64-mingw32/bin/ar" + +[target.armv7-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" -- cgit v1.2.3-70-g09d2