diff --git a/crates/wasm-smith/src/config.rs b/crates/wasm-smith/src/config.rs index 0ac05ca99c..e12b3007ad 100644 --- a/crates/wasm-smith/src/config.rs +++ b/crates/wasm-smith/src/config.rs @@ -796,6 +796,12 @@ impl Config { self.shared_everything_threads_enabled = false; } + // shared-everything-threads depends on GC, so if gc is disabled then + // also disable shared-everything-threads. + if !self.gc_enabled { + self.shared_everything_threads_enabled = false; + } + // If simd is disabled then disable all relaxed simd instructions as // well. if !self.simd_enabled {