🐛 Apply getrandom requirements to support wasm-unknown-unknown
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful

See https://docs.rs/getrandom/latest/getrandom/#webassembly-support
This commit is contained in:
2025-07-13 20:43:23 +02:00
parent cf359b4950
commit bf6c3d5cb0
2 changed files with 10 additions and 1 deletions

View File

@@ -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}