ci: docker_tag=ext | wasm-build: force reference-types for wasm-bindgen
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 1m52s
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 1m52s
This commit is contained in:
parent
7a52bb2ee7
commit
c89d956821
@ -33,7 +33,8 @@ RUN --mount=type=ssh git clone -b dev ssh://git@git.4nkweb.com/4nk/sdk_client.gi
|
||||
|
||||
# Build du WebAssembly avec accès SSH pour les dépendances
|
||||
WORKDIR /build/sdk_client
|
||||
RUN --mount=type=ssh wasm-pack build --out-dir ../ihm_client/pkg --target bundler --dev
|
||||
# Activer explicitement reference-types pour résoudre l'erreur wasm-bindgen
|
||||
RUN --mount=type=ssh RUSTFLAGS="-C target-feature=+reference-types" wasm-pack build --out-dir ../ihm_client/pkg --target bundler --dev
|
||||
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
Loading…
x
Reference in New Issue
Block a user