emscripten-core / emscripten-core/emscripten
Implement mmap support in library_lz4.js?
Open
wasmfs
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 109
Description
As noted in https://github.com/emscripten-core/emscripten/issues/9085#issuecomment-1226676158, it seems that lz4 does not support `mmap`, and thus `-s LZ4=1` can't be used for packaging things like message catalogs (as gettext ultimately relies on `mmap` for loading message catalogs).
@kripken, @sbc100: Would adding `mmap` support to `library_lz4.js` be practical / possible / in scope in the future?
Contributor guide
Assessment
This issue has not been assessed yet.