Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 31, 2024

This allows it to work in standalone mode.

This change also includes a fix to actually honor the __proxy: 'none' mode. It seems like we were just falling back to async proxying in this case, but we only had a single function that used this mode which was __syscall_fadvise64.

Fixes: #22782

@sbc100 sbc100 enabled auto-merge (squash) October 31, 2024 20:35
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 31, 2024
It looks like this mode was broken from the moment it as added back in
PR emscripten-core#20110.  However it went unnoticed since it was only being used with
a single function: `__syscall_fadvise64`.

Split out from emscripten-core#22820.
sbc100 added a commit to sbc100/emscripten that referenced this pull request Oct 31, 2024
It looks like this mode was broken from the moment it as added back in
PR emscripten-core#20110.  However it went unnoticed since it was only being used with
a single function: `__syscall_fadvise64`.

Split out from emscripten-core#22820.
sbc100 added a commit that referenced this pull request Oct 31, 2024
It looks like this mode was broken from the moment it as added back in
PR #20110. However it went unnoticed since it was only being used with a
single function: `__syscall_fadvise64`.

Split out from #22820.
This allows it to work in standalone mode.

Fixes: emscripten-core#22782
@sbc100 sbc100 merged commit 8f08ccc into emscripten-core:main Nov 1, 2024
28 checks passed
@sbc100 sbc100 deleted the getentropy branch November 1, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standalone: implement getentropy() via wasi_snapshot_preview1.random_get()

2 participants