Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Zstandard streaming decompression #47

Merged
merged 12 commits into from
Aug 14, 2024
2 changes: 1 addition & 1 deletion codecs/zstd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ cd ../../../
${OPTIMIZE} \
-I "$CODEC_DIR/lib" \
--closure 1 \
-fwasm-exceptions
-fwasm-exceptions \
Copy link
Owner

Choose a reason for hiding this comment

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

Ah, I see you did use wasm exceptions!

Copy link
Owner

Choose a reason for hiding this comment

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

I believe this is listed as "legacy" now, but the alternative proposal isn't supported in any runtimme at all so I'm good with using for now: https://webassembly.org/features/

-s ALLOW_MEMORY_GROWTH=1 \
-s MODULARIZE=1 \
-s EXPORT_ES6=1 \
Expand Down
Loading