- Install
cross
cargo install cross
- Build with cross
cross build --target x86_64-unknown-linux-musl
build-release
: Build binaries withcross
and packages outputs intorelease
folderbuild-host-release
: Build binaries with host's Rust toolchain. *NIX shell scriptbuild-host-release.ps1
: Build binaries with host's Rust toolchain. PowerShell script