Closed
Description
Sam Clegg asked me to open an issue to extend the current support for MAP_ANON that was added in
emscripten/src/library_syscall.js
Lines 240 to 247 in 22b499d
The motivation for this is that I (and others) use the abseil library in standalone wasm, and abseil depends on mmap availability in one of its low level routines, used by things like lock acquires in debug builds (among other cases), which are widely depended on by various features across abseil. The specific abseil code that calls mmap is here: https://github.com/abseil/abseil-cpp/blob/1ae9b71c474628d60eb251a3f62967fe64151bb2/absl/base/internal/low_level_alloc.cc#L562
Metadata
Metadata
Assignees
Labels
No labels