Skip to content

Commit 8771eab

Browse files
committed
threads: add more flags
This adds CLI-level flags for `shared-everything-threads` based on this [comment]. [comment]: bytecodealliance#10206 (review)
1 parent bb12131 commit 8771eab

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/cli-flags/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ wasmtime_option_group! {
358358
pub tail_call: Option<bool>,
359359
/// Configure support for the threads proposal.
360360
pub threads: Option<bool>,
361+
/// Configure support for the shared-everything-threads proposal.
362+
pub shared_everything_threads: Option<bool>,
361363
/// Configure support for the memory64 proposal.
362364
pub memory64: Option<bool>,
363365
/// Configure support for the component-model proposal.

crates/fuzzing/src/generators/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ impl Config {
299299
cfg.wasm.simd = Some(self.module_config.config.simd_enabled);
300300
cfg.wasm.tail_call = Some(self.module_config.config.tail_call_enabled);
301301
cfg.wasm.threads = Some(self.module_config.config.threads_enabled);
302+
cfg.wasm.shared_everything_threads =
303+
Some(self.module_config.config.shared_everything_threads_enabled);
302304
cfg.wasm.wide_arithmetic = Some(self.module_config.config.wide_arithmetic_enabled);
303305
cfg.wasm.exceptions = Some(self.module_config.config.exceptions_enabled);
304306
cfg.wasm.legacy_exceptions = Some(self.module_config.legacy_exceptions);

0 commit comments

Comments
 (0)