Wasm Language Runtimes provides popular language runtimes (Ruby, Python, …) precompiled to WebAssembly that are tested for compatibility and kept up to date when new versions of upstream languages are released
We are not currently providing a way to get random bytes in wasi mode so it fallbacks to read from "/dev/urandom", which works when the module is running on Unix (and has permissions) but will always fail on Windows, where it does not exist.
The patch provides a way of getting random bytes using getentropy and disables relying on "/dev/urandom" as a fallback.
We are not currently providing a way to get random bytes in wasi mode so it fallbacks to read from "/dev/urandom", which works when the module is running on Unix (and has permissions) but will always fail on Windows, where it does not exist.
The patch provides a way of getting random bytes using getentropy and disables relying on "/dev/urandom" as a fallback.