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

Add support for extended-const to wasm-smith #1862

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexcrichton
Copy link
Member

This commit adds support for the extended-const proposal to the wasm-smith generator crate. This is gated behind a new extended_const_enabled field in wasm_smith::Config

This commit additionally refactors the wasm-smith test suite and fuzzers in this repository to share the same source for generating a WasmFeatures from a Config.

Finally this also fixes a few minor issues with wide arithmetic, namely it was enabled in fuzzing for components by accident and needed to be added to the Config-to-WasmFeatures conversion.

This commit adds support for the `extended-const` proposal to the
`wasm-smith` generator crate. This is gated behind a new
`extended_const_enabled` field in `wasm_smith::Config`

This commit additionally refactors the `wasm-smith` test suite and
fuzzers in this repository to share the same source for generating a
`WasmFeatures` from a `Config`.

Finally this also fixes a few minor issues with wide arithmetic, namely
it was enabled in fuzzing for components by accident and needed to be
added to the `Config`-to-`WasmFeatures` conversion.
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