Skip to content

Try to compile to a lower target to support older browsers #17

@Jaifroid

Description

@Jaifroid

When we compiled XZ and ZSTD to WASM, we were also able to compile to ASM (the older, JavaScript-only version, which is quite fast and well optimized across most browsers). But even if we can only compile to WASM, the current build isn't working with some browsers that normally support WASM pretty well: notably UWP webview (and hence Edge Legacy), and Chrome for Android.

One possible solution might be to compile without pthreads: see emscripten-core/emscripten#13152 (comment).

But in principle, I don't see why we couldn't also try to produce ASM versions. It's normally just a change in the emcc commandline, but possibly can also be done with emmconfigure.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuildCode relating to building or publishing assetshelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions