chore: fix toml format to address wasm build failure (#6967)

This commit is contained in:
Jeeva Ramachandran
2025-01-28 13:16:56 +05:30
committed by GitHub
parent 3fdc41e6c9
commit ecab2b1f51
3 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,6 @@
FROM rust:latest as builder
ARG RUN_ENV=sandbox
ARG EXTRA_FEATURES=""
ARG FEATURES=""
ARG VERSION_FEATURE_SET="v1"
RUN apt-get update \
@ -19,7 +18,7 @@ ENV env=$env
COPY . .
RUN echo env
RUN cargo install wasm-pack
RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${RUN_ENV},${EXTRA_FEATURES}
RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${FEATURES}
FROM scratch