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

fix: disable multi-memory when config.only_stable_features is true #269

Merged
merged 3 commits into from
Jul 9, 2024

Conversation

lwshang
Copy link
Contributor

@lwshang lwshang commented Jul 9, 2024

WebAssemly features/proposals

This PR overhauls how config.only_stable_features is translated to wasmparser::WasmFeatures.

Now, when only_stable_features == true, only stable features (finished proposals) will be enabled.

In default mode (only_stable_features == false), all supported features will be enabled.
Currently, only multi-memory feature is fully supported.
thread feature needs to be enabled because of a round_trip test.

The skipped tests in non-proposals spec-tests are all removed. Therefore, walrus with only_stable_features == true conforms the current WebAssembly standard.

Other

Also upgrades dependencies in fuzz-utils crate.

@lwshang lwshang marked this pull request as draft July 9, 2024 14:49
@lwshang lwshang marked this pull request as ready for review July 9, 2024 14:49
@guybedford guybedford merged commit e9c0a61 into rustwasm:main Jul 9, 2024
8 checks passed
@lwshang lwshang deleted the multi_memory_off branch July 9, 2024 18:09
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