Skip to content

fuzz(mutate): enable the custom-page-sizes proposal as necessary#1619

Merged
fitzgen merged 3 commits intobytecodealliance:mainfrom
fitzgen:mutate-custom-page-sizes
Jun 18, 2024
Merged

fuzz(mutate): enable the custom-page-sizes proposal as necessary#1619
fitzgen merged 3 commits intobytecodealliance:mainfrom
fitzgen:mutate-custom-page-sizes

Conversation

@fitzgen
Copy link
Copy Markdown
Member

@fitzgen fitzgen commented Jun 18, 2024

If wasm-smith enabled it, then we need to enable it for validation of the mutated binaries.

If `wasm-smith` enabled it, then we need to enable it for validation of the
mutated binaries.
@fitzgen fitzgen requested a review from alexcrichton June 18, 2024 20:32
Comment thread fuzz/src/mutate.rs Outdated
Comment on lines +68 to +74
features.set(WasmFeatures::MULTI_MEMORY, config.max_memories > 1);
features.set(WasmFeatures::MEMORY64, config.memory64_enabled);
features.set(WasmFeatures::THREADS, config.threads_enabled);
features.set(
WasmFeatures::CUSTOM_PAGE_SIZES,
config.custom_page_sizes_enabled,
);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Given the current state of things today should this (and the bits above this) perhaps be replaced by let features = WasmFeatures::all()?

@fitzgen fitzgen enabled auto-merge June 18, 2024 20:50
@fitzgen fitzgen added this pull request to the merge queue Jun 18, 2024
Merged via the queue into bytecodealliance:main with commit 1d40214 Jun 18, 2024
@fitzgen fitzgen deleted the mutate-custom-page-sizes branch June 18, 2024 21:01
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