From ad0a802854022ec0ef2310958f7d057020036f0f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 Apr 2022 23:33:19 +0100 Subject: [PATCH] Makefile: Build wasm-bindgen with selected rust version too Signed-off-by: Ian Jackson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a35c5e13..ba9fa87a 100644 --- a/Makefile +++ b/Makefile @@ -209,7 +209,7 @@ $(TARGET_DIR)/debug/%: $(call rsrcs, ! -path './wasm/*') $(NAILING_CARGO_JUST_RUN) touch $(abspath $@) stamp/cargo.wasm-bindgen: $(call rsrcs, ! -name \*.rs) - $(CARGO_CMD) $(WASM_BINDGEN_CLI_CARGO_OPTS) $(CARGO_VERSION) \ + $(CARGO_CMD) $(WASM_BINDGEN_CLI_CARGO_OPTS) $(RUST_VERSION) \ build --target-dir=target \ --manifest-path=$(abspath wasm/Cargo.toml) -p wasm-bindgen-cli $(stamp) -- 2.30.2