From b38d180956192276c55ea412d5c19d91f9101441 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 16 Nov 2021 22:06:56 +0100 Subject: [PATCH] Targets for uniformish cross-build --- implementations/rust/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/implementations/rust/Makefile b/implementations/rust/Makefile index 33bc287..7c52e87 100644 --- a/implementations/rust/Makefile +++ b/implementations/rust/Makefile @@ -5,9 +5,14 @@ all: cargo build --all-targets -arm-binary: arm-binary-release +x86_64-binary: x86_64-binary-release -arm-binary-release: +x86_64-binary-release: + cross build --target=x86_64-unknown-linux-musl --release --all-targets + +armv7-binary: armv7-binary-release + +armv7-binary-release: cross build --target=armv7-unknown-linux-musleabihf --release --all-targets aarch64-binary: aarch64-binary-release