cargo
Rust project builds
When building “pure” Rust packages with the cargo
build tool, ensure you use
the %cargo*
macros to allow boulder
to control the various tuning options and debuginfo behaviour.
%cargo_set_environment
Set environmental variables for Cargo build
%cargo_fetch
Fetch dependencies
%cargo_build
Build the rust project
%cargo_install
Install the built binary
%cargo_test
Run tests