mirror of
https://github.com/hanzoai/edge.git
synced 2026-10-30 18:38:12 +00:00
Two issues prevented wasm32-unknown-unknown builds: 1. getrandom 0.3.4 (transitive via candle -> rand 0.9 -> rand_core 0.9) removed the implicit WASM backend. Add getrandom 0.3 with wasm_js feature as a direct dep to enable JS-based randomness for the transitive copy. 2. tokenizers inherited the workspace "onig" feature, pulling in onig_sys (C library) which cannot cross-compile for wasm32. Override tokenizers to use only "unstable_wasm" without "onig".