From 653b86fbc9ecf0c11bad6b42a67898a543edd970 Mon Sep 17 00:00:00 2001 From: 4NK CI Bot Date: Thu, 18 Sep 2025 11:32:46 +0000 Subject: [PATCH] ci: docker_tag=ext | cargo update wasm-bindgen*(0.2.103) js-sys/web-sys (0.3.80) before build --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b0b6aea..44aa36d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -35,8 +35,14 @@ RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.gi # Build du WebAssembly (cargo) + wasm-bindgen WORKDIR /build/sdk_client -# Build standard sans reference-types (compatibilité wasm-bindgen) -RUN --mount=type=ssh cargo build --target wasm32-unknown-unknown --profile dev && \ +# Harmoniser wasm-bindgen crate avec le CLI +RUN cargo update -p wasm-bindgen --precise 0.2.103 && \ + cargo update -p wasm-bindgen-macro --precise 0.2.103 && \ + cargo update -p wasm-bindgen-backend --precise 0.2.103 && \ + cargo update -p wasm-bindgen-macro-support --precise 0.2.103 && \ + cargo update -p js-sys --precise 0.3.80 && \ + cargo update -p web-sys --precise 0.3.80 && \ + cargo build --target wasm32-unknown-unknown --profile dev && \ wasm-bindgen target/wasm32-unknown-unknown/debug/sdk_client.wasm \ --out-dir /build/ihm_client/pkg \ --typescript \