mirror of
https://github.com/chipsenkbeil/distant.git
synced 2024-11-18 21:28:24 +00:00
364 B
364 B
Building from Source
Using Cargo
cargo build
Completely static binary
To compile a completely static binary (not linked to libc), we need to target musl using:
cargo build --target x86_64-unknown-linux-musl
At the moment, this is not possible to build on M1 Macs: https://github.com/FiloSottile/homebrew-musl-cross/issues/23