From d3a1402c43c40312b670e1d1a7bb0aae31e7b505 Mon Sep 17 00:00:00 2001 From: Craig Colegrove Date: Thu, 13 Nov 2025 13:42:21 -0800 Subject: [PATCH 1/2] Add cargo install to build.js --- Cargo.toml | 1 + build.js | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d33ce9a..c1185a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ rand_chacha = "0.3" recrypt = { version = "0.14", features = ["wasm"], default-features = false } serde = "1" serde_derive = "1" +# Must be kept in-sync with build.js and GitHub workflows wasm-bindgen = { version = "=0.2.104" } [profile.dev] diff --git a/build.js b/build.js index 6749ed7..0928c46 100755 --- a/build.js +++ b/build.js @@ -33,6 +33,7 @@ shell.exec("yarn"); shell.exec("cargo clean"); shell.exec("cargo update"); shell.exec("cargo install wasm-pack"); +shell.exec("cargo install cargo install wasm-bindgen-cli@0.2.104"); // version must be kept in-sync with Cargo.toml shell.exec("yarn run compile"); shell.exec("yarn test"); shell.exec("PATH=~/.cargo/bin:$PATH yarn run pack"); From 8cb8b534b206e1e63482355ad343509be0c7cb79 Mon Sep 17 00:00:00 2001 From: Craig Colegrove Date: Thu, 13 Nov 2025 13:45:35 -0800 Subject: [PATCH 2/2] Typo --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 0928c46..bc907af 100755 --- a/build.js +++ b/build.js @@ -33,7 +33,7 @@ shell.exec("yarn"); shell.exec("cargo clean"); shell.exec("cargo update"); shell.exec("cargo install wasm-pack"); -shell.exec("cargo install cargo install wasm-bindgen-cli@0.2.104"); // version must be kept in-sync with Cargo.toml +shell.exec("cargo install wasm-bindgen-cli@0.2.104"); // version must be kept in-sync with Cargo.toml shell.exec("yarn run compile"); shell.exec("yarn test"); shell.exec("PATH=~/.cargo/bin:$PATH yarn run pack");