From 843903c8bc13e9cce68eb79a15ec418520e49663 Mon Sep 17 00:00:00 2001 From: Tom Stoffer Date: Tue, 14 Apr 2026 23:56:18 +1200 Subject: [PATCH] Updating Contributing.md to include helpful build steps --- CONTRIBUTING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9f9b0b9c..d6d9ad74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,6 +100,16 @@ For library tests only: cargo test --lib ``` +**Build Rust artifacts with the correct targets:** + +```bash +cd crates +cargo build --release --target wasm32-wasip1 -p llm_gateway -p prompt_gateway +cargo build --release -p brightstaff -p hermesllm -p common +``` + +Do not run a blanket workspace-native build such as `cargo build --release` from `crates/`. The `llm_gateway` and `prompt_gateway` crates are Proxy-WASM `cdylib`s and must be built for `wasm32-wasip1`, while `brightstaff`, `hermesllm`, and `common` build natively. + **Run Python CLI tests:** ```bash