File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 cache : " npm"
5959 cache-dependency-path : vortex-web/package-lock.json
6060 - run : npm ci
61- - env :
62- RUSTFLAGS : --cfg getrandom_backend="unsupported"
63- run : npm run wasm
61+ - run : npm run wasm
6462 - run : npm run format:check
6563 - run : npm run lint
6664 - run : npm run typecheck
8785 cache : " npm"
8886 cache-dependency-path : vortex-web/package-lock.json
8987 - run : npm ci
90- - env :
91- RUSTFLAGS : --cfg getrandom_backend="unsupported"
92- run : npm run build
88+ - run : npm run build
9389 - name : Upload build artifact
9490 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
9591 with :
Original file line number Diff line number Diff line change 1+ # vortex-array dependency tree pulls in rand 0.10 → getrandom 0.4, which requires an explicit
2+ # backend opt-in for wasm32-unknown-unknown. The "unsupported" backend compiles fine and
3+ # panics only if random values are actually requested at runtime — nothing in the explorer
4+ # codepath does that, so this matches the CI build exactly without taking on the heavier
5+ # `wasm_js` browser-RNG dep.
6+ [target .wasm32-unknown-unknown ]
7+ rustflags = [' --cfg' , ' getrandom_backend="unsupported"' ]
You can’t perform that action at this time.
0 commit comments