🐛 Apply getrandom requirements to support wasm-unknown-unknown
See https://docs.rs/getrandom/latest/getrandom/#webassembly-support
This commit is contained in:
@@ -14,6 +14,8 @@ RUN apt update \
|
||||
|
||||
COPY . .
|
||||
|
||||
# Workaround waiting for the dioxus 0.7 release (cf. https://github.com/DioxusLabs/dioxus/issues/4238)
|
||||
ENV RUSTFLAGS="--cfg getrandom_backend=\"wasm_js\""
|
||||
RUN dx build -r --platform web -- -j ${JOBS_NB}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user