From 6acc48ac35a28d06c1fd256ed78412439d1371be Mon Sep 17 00:00:00 2001 From: Yuji Yaginuma Date: Sun, 29 Mar 2026 13:07:48 +0900 Subject: [PATCH] Fix link to "Rust on ESP Book" It looks like `docs.esp-rs.org` is unsued domain now. This PR changes it to `https://docs.espressif.com/projects/rust/book/`. Also, updated to use `esp-generate` to generate a project. Ref: https://docs.espressif.com/projects/rust/book/getting-started/using-esp-generate.html --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f86b7ad..ffbd457 100644 --- a/README.md +++ b/README.md @@ -182,12 +182,13 @@ To build the `wamr-sys` and `wamr-rust-sdk` crates, follow these steps: ##### For espidf targets -1. Get the latest information from [The Rust on ESP Book](https://docs.esp-rs.org/book/writing-your-own-application/index.html). +1. Get the latest information from [The Rust on ESP Book](https://docs.espressif.com/projects/rust/book/application-development/index.html). 2. Please make sure you have installed all [prerequisites](https://github.com/esp-rs/esp-idf-template?tab=readme-ov-file#prerequisites) first! -3. Generate projects from templates following the instructions in [The Rust on ESP Book](https://docs.esp-rs.org/book/writing-your-own-application/generate-project/index.html). +3. Generate projects from templates following the instructions in [The Rust on ESP Book](https://docs.espressif.com/projects/rust/book/getting-started/using-esp-generate.html). ``` sh - $ cargo generate esp-rs/esp-idf-template cargo + $ cargo install esp-generate --locked + $ esp-generate # follow prompts from the command ```