Install From Source¶
Build truST from source when you are contributing, testing unreleased changes, or packaging it yourself.
Contributor Path¶
- Install Rust and Cargo from https://rustup.rs/.
- Clone the repository.
- Build the shipped binaries:
cargo build -p trust-lsp -p trust-runtime -p trust-debug
- For release-profile binaries:
cargo build --release -p trust-lsp -p trust-runtime -p trust-debug
trust-harness is built from the trust-runtime package, so you do not pass
-p trust-harness separately.
Verify The Build¶
command -v trust-lsp
command -v trust-runtime
command -v trust-debug
command -v trust-harness
trust-runtime --version
trust-runtime --help
Use release installs unless you need source builds¶
- If you only want the editor workflow, use Installation.
- If you only need runtime binaries, use the GitHub release download path from Installation.