You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distant/BUILDING.md

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