You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Standalone: implement getentropy() via wasi_snapshot_preview1.random_get() #22782
Activity
sbc100 commentedon Oct 24, 2024
Yes, I think that would make sense.
There is a simple implementation in wasi-libc already: https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/sources/getentropy.c
Would you like the send a PR? I imagine the hardest part would be figuring out where/how to test it.
fix: Implement getentropy while Emscripten gets patched
fix: Implement getentropy while Emscripten gets patched
fix: Implement getentropy using wasi preview 1 (#178)
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get
Implement getentropy via __wasi_random_get (emscripten-core#22820)