From 207679ded9e42d689c1862393f4ea4f2605b9756 Mon Sep 17 00:00:00 2001 From: "Michael X. Grey" Date: Tue, 7 Jan 2025 10:47:34 +0800 Subject: [PATCH 1/2] Update readme so bindgen installation matches what we need Signed-off-by: Michael X. Grey --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34cb49f3..2d3c30e2 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,8 @@ Make sure you install rust from the main rust website. Cargo should take care of These are only needed if you're going to build a WebAssembly binary: ```bash $ sudo apt install binaryen -$ cargo install wasm-bindgen-cli basic-http-server +$ cargo install -f wasm-bindgen-cli --version 0.2.93 +$ cargo install basic-http-server $ rustup target add wasm32-unknown-unknown ``` From 1edac774c853c59b053442533c525feccc58a552 Mon Sep 17 00:00:00 2001 From: "Michael X. Grey" Date: Tue, 7 Jan 2025 10:52:25 +0800 Subject: [PATCH 2/2] Add note to update README Signed-off-by: Michael X. Grey --- rmf_site_editor_web/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmf_site_editor_web/Cargo.toml b/rmf_site_editor_web/Cargo.toml index 98a0cd33..8c9db7eb 100644 --- a/rmf_site_editor_web/Cargo.toml +++ b/rmf_site_editor_web/Cargo.toml @@ -8,6 +8,6 @@ crate-type = ["cdylib", "rlib"] name = "librmf_site_editor_web" [dependencies] -wasm-bindgen = "=0.2.93" +wasm-bindgen = "=0.2.93" # Remember to update the README if we change this version number rmf_site_editor = { path = "../rmf_site_editor" } console_error_panic_hook = "0.1.7"