diff options
author | Yuta Saito <[email protected]> | 2025-02-18 16:06:36 +0000 |
---|---|---|
committer | Yuta Saito <[email protected]> | 2025-02-19 11:46:12 +0900 |
commit | eac35edfd1101e8f7c34dbdd7b595fdac8f0ad4c (patch) | |
tree | 99763c439ee6653313f69d60a01949dc3fd26abd /time.c | |
parent | 4f7dfbe58ee2915b0724251c6464c9b4e0c34245 (diff) |
[wasm] Stop using mprotect(PROT_NONE) on WASI
we had been using a stub weak definition of `mprotect` in wasm/missing.c
so far, but wasi-sdk 23 added mprotect emulation to wasi-libc[^1], so the
emulation is now linked instead. However, the emulation doesn't support
PROT_NONE and fails with ENOSYS, so we need to avoid calling mprotect
completely on WASI.
[^1]: https://github.com/WebAssembly/wasi-libc/commit/7528b13170462c82e367d91ae0ecead84e470ceb
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12776
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions