summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorYuta Saito <[email protected]>2025-02-18 16:06:36 +0000
committerYuta Saito <[email protected]>2025-02-19 11:46:12 +0900
commiteac35edfd1101e8f7c34dbdd7b595fdac8f0ad4c (patch)
tree99763c439ee6653313f69d60a01949dc3fd26abd /time.c
parent4f7dfbe58ee2915b0724251c6464c9b4e0c34245 (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