From 971a4a702e2b7b0fda5b829283cddc52211f8f07 Mon Sep 17 00:00:00 2001 From: Peter Marsh Date: Thu, 26 Oct 2023 13:16:57 +0200 Subject: [PATCH] Add note about installing required targets to README These are a pre-requisit for builds to complete. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 89cb2021..2b5122e4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,15 @@ - [Extending Envoy with WASM and Rust](https://antweiss.com/blog/extending-envoy-with-wasm-and-rust/) - [Writing Envoy filters in Rust with WebAssembly](https://content.red-badger.com/resources/extending-istio-with-rust-and-webassembly) + +## Targets + +Make sure you have the right targets installed: + +```sh +rustup target add wasm32-wasi wasm32-unknown-unknown +``` + ## Updating dependencies When updating dependencies, you need to regenerate Bazel `BUILD` files to match updated `Cargo.toml`: