mirror of
https://github.com/nukesor/pueue
synced 2024-09-30 04:53:37 +00:00
438 B
438 B
Cross compilation
Compilation and testing for other architectures is rather easy with cross
.
- Install
cargo-cross
. - Make sure to install
qemu
.
- On Arch-Linux install
qemu-user-static-binfmt
. - On Ubuntu install
binfmt-support
andqemu-user-static
.
Run the build/test against the target infrastructure, I.e.:
cross build --target=aarch64-unknown-linux-musl
cross test --target=aarch64-unknown-linux-musl