Closed ChanTsune closed 11 months ago
Builds targeting WebAssemby using the WASI-SDK are now supported in liblzma 5.4.4. https://github.com/tukaani-project/xz/releases/tag/v5.4.4 (I patched the build to work with the xz2 WebAssemby target).
This allows builds targeting wasm32-unknown-unknown and wasm32-wasi on xz2.
wasm32-unknown-unknown
wasm32-wasi
However, several changes have to be made to the current xz2.
There are several options for how to make the change, possible options are.
1.
xz-54
2.
threading
#[cfg(target_arch = "wasm32")]
3.
config.h
I will work on making xz2 buildable with WebAssembly as a target, as long as you indicate your policy for handling it!
I see that you have been doing some WebAssembly-related activities recently, so please respond if you are interested!
Builds targeting WebAssemby using the WASI-SDK are now supported in liblzma 5.4.4. https://github.com/tukaani-project/xz/releases/tag/v5.4.4 (I patched the build to work with the xz2 WebAssemby target).
This allows builds targeting
wasm32-unknown-unknown
andwasm32-wasi
on xz2.However, several changes have to be made to the current xz2.
There are several options for how to make the change, possible options are.
1.
xz-54
) to enable liblzma 5.4 with continued support for the current liblzma 5.22.
threading
) to enable/disable the multithreading feature#[cfg(target_arch = "wasm32")]
3.
config.h
to enable arm64 filtersI will work on making xz2 buildable with WebAssembly as a target, as long as you indicate your policy for handling it!
I see that you have been doing some WebAssembly-related activities recently, so please respond if you are interested!