emscripten-core / emscripten-core/emscripten

Implement mmap support in library_lz4.js?

Open
#17,734 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.