Skip to content

Add wasm32 compatibility#49

Open
juntyr wants to merge 29 commits into
robertu94:masterfrom
juntyr:wasm
Open

Add wasm32 compatibility#49
juntyr wants to merge 29 commits into
robertu94:masterfrom
juntyr:wasm

Conversation

@juntyr

@juntyr juntyr commented Feb 12, 2026

Copy link
Copy Markdown

This PR allows libpressio to be compiled for wasm32, which is used with the libpressio-rs bindings to compile numcodecs-pressio to numcodecs-wasm-pressio

Comment thread CMakeLists.txt Outdated
Comment thread src/plugins/compressors/roibin_impl.h
Comment thread CMakeLists.txt
@juntyr juntyr changed the title WASM hacks Add wasm32 compatibility Mar 10, 2026
@juntyr juntyr marked this pull request as ready for review March 10, 2026 07:51
@juntyr juntyr requested a review from robertu94 March 10, 2026 07:52
@juntyr

juntyr commented Mar 10, 2026

Copy link
Copy Markdown
Author

@robertu94 I'd like to push forward with these changes now that they've been cleaned up

@robertu94 robertu94 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these comments are small.

Comment thread src/plugins/compressors/roibin_impl.h
Comment thread src/plugins/compressors/remove_background.cc
Comment thread src/plugins/compressors/linear_quantizer.cc
Comment thread src/plugins/compressors/cusz.cc Outdated
Comment thread src/plugins/compressors/bzip2.cc
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
@juntyr

juntyr commented Mar 21, 2026

Copy link
Copy Markdown
Author

@robertu94 Thank you for the review! I've tried to address all of your comments, but left two unresolved since I need more input from you.

@juntyr

juntyr commented Mar 30, 2026

Copy link
Copy Markdown
Author

@robertu94 Does this PR need anything else, or can it be merged? Ideally, I'd like to publish the libpressio-rs and numcodecs-pressio crates once this PR is upstream (and ideally ideally there has been a release with these changes so we can point at a release version)

@robertu94

Copy link
Copy Markdown
Owner

I think it looks good. I want to pull in these changes locally and do some testing to double-check that nothing broke, and I hope to do that soon. It's on my todo list I promise.

@juntyr

juntyr commented Apr 22, 2026

Copy link
Copy Markdown
Author

@robertu94 What's the status?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants