Skip to content

Conversation

@surban
Copy link
Contributor

@surban surban commented Feb 23, 2025

liblzma is a drop-in replacement for xz2. It supports building to wasm32-wasip1-* targets.

In addition the Cargo resolver is switched to version 2, to prevent feature flags from dev-dependencies to leak into a cargo build --lib invocation. This is necessary to ensure that no Tokio-features that are unsupported on WebAssembly are enabled.

A CI build targeting wasm32-wasip1-threads is added.

liblzma is a drop-in replacement for xz2.
It uses a new liblzma version and supports
targeting WebAssembly.
This is required for "cargo build --lib" to not activate
Tokio features from dev-dependencies. Otherwise, the
build fails on WebAssembly.
@surban
Copy link
Contributor Author

surban commented Feb 23, 2025

The test failure seems to be unrelated.

@NobodyXu
Copy link
Collaborator

Hello it should be fixed on develop, rebasing should fix it

@surban
Copy link
Contributor Author

surban commented Feb 27, 2025

Should be fixed now. I accidentally "refactored" a test artifact.

Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you!

Just some changes requested for features

@surban surban requested a review from NobodyXu February 27, 2025 22:34
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you, LGTM, cc @robjtede can you take a look at this please?

@robjtede robjtede added this pull request to the merge queue Feb 28, 2025
Merged via the queue into Nullus157:main with commit 77893f9 Feb 28, 2025
17 checks passed
@codecov
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (bc4eccd) to head (04b854e).
Report is 8 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #326   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Labels

A-semver-minor non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants