From: Ian Jackson Date: Fri, 1 Apr 2022 22:33:19 +0000 (+0100) Subject: Makefile: Build wasm-bindgen with selected rust version too X-Git-Tag: otter-1.0.0~14 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ad0a802854022ec0ef2310958f7d057020036f0f;p=otter.git Makefile: Build wasm-bindgen with selected rust version too Signed-off-by: Ian Jackson --- 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)