mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
chore: fix toml format to address wasm build failure (#6967)
This commit is contained in:
committed by
GitHub
parent
3fdc41e6c9
commit
ecab2b1f51
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user