Building NativeLink with Cargo
These instructions contain information on how to work with NativeLink for Cargo users.
If you’re using the Nix flake you’re all set.
If you’re running outside of nix, install Cargo via rustup.
To build the nativelink executable:
cargo build --bin nativelink --profile=smolcargo build --bin nativelinkcargo build --bin nativelink --releaseTo run the tests:
cargo test --all --profile=smolcargo test --allcargo test --all --release