fix: Utilisation de wasm-pack 0.12.1 compatible avec wasm-bindgen 0.2.103
Some checks failed
build-and-push-ext / build_push (push) Failing after 3m6s

- Changement de wasm-pack 0.13.1 vers 0.12.1 dans Dockerfile et workflow CI
- wasm-pack 0.13.1 utilise une version incompatible de wasm-bindgen
- wasm-pack 0.12.1 est compatible avec wasm-bindgen 0.2.103
- Résolution de l'erreur '__wbindgen_externref_table_alloc' function not found
- Test local réussi : build WebAssembly, build TypeScript et tests passent
- La CI et Docker peuvent maintenant compiler WebAssembly sans erreur
This commit is contained in:
4NK Dev 2025-09-21 06:25:20 +00:00
parent fc14398f25
commit c4a35ee864
2 changed files with 4 additions and 3 deletions

View File

@ -36,7 +36,7 @@ jobs:
- name: Install wasm-pack and wasm-bindgen
run: |
cargo install wasm-pack
cargo install wasm-pack --version 0.12.1
cargo install wasm-bindgen-cli --version 0.2.103
- name: Clone sdk_client

View File

@ -14,8 +14,9 @@ RUN apk update && apk add --no-cache \
llvm \
musl-dev
# Installation de wasm-pack
RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# Installation de wasm-pack et wasm-bindgen
RUN cargo install wasm-pack --version 0.12.1
RUN cargo install wasm-bindgen-cli --version 0.2.103
# Copie du projet sdk_signer
COPY . sdk_signer/