fix(wasm): custom getrandom so browser wasm loads without wbindgen

The js feature pulled __wbindgen_* imports that marqdo-bridge cannot satisfy, breaking theme toggle and all client WASM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-18 13:46:49 +08:00
1 parent 6bd127a313
commit 42ddeb14e7
3 files changed
+34 -5

No files matched your search

Generated
-2
View File
@@ -410,10 +410,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
dependencies = [
"cfg-if",
"js-sys",
"libc",
"wasi",
"wasm-bindgen",
]
[[package]]