Targets for uniformish cross-build

This commit is contained in:
Tony Garnock-Jones 2021-11-16 22:06:56 +01:00
parent b7c9efc3a1
commit b38d180956
1 changed files with 7 additions and 2 deletions

View File

@ -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