Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 713 Bytes

building.adoc

File metadata and controls

32 lines (24 loc) · 713 Bytes

How to build the whole project

First, update your rust implementation via:

rustup self update # to update rustup itself
rustup toolchain install stable-$CARGO_BUILD_TARGET
rustup update stable

Now, we can build the project. We offer several ways: one for CI, one for your local machine.

For the local machine, run:

cargo clean
cargo build --workspace --all-targets
cargo test
cargo fmt --all -- --check

Build for different target architecture

You can set up your local build to build against a different target architecture. Export the environment var RUSTUP_TOOLCHAIN and check:

# To get all architecture targets
rustc --print target-list