Skip to content

Enable js feature for getrandom so it builds for WASM browser targets.

janimo requested to merge janimo/arti:wasm-build-fix-getrandom into main

By default rand does not build for WASM browser targets.

The following crates pass cargo check --target wasm32-unknown-unknown only after applying this change

tor-bytes tor-cell tor-cert tor-checkable tor-consdiff tor-linkspec tor-llcrypto tor-netdir tor-netdoc tor-proto tor-socksproto

Merge request reports