Skip to content

Commit

Permalink
smith: Disable shared-everything-threads without GC (#1973)
Browse files Browse the repository at this point in the history
* smith: Disable shared-everything-threads without GC

Alternative fix from #1965

* Review comments
  • Loading branch information
alexcrichton authored Jan 13, 2025
1 parent 897ab1f commit 9c514f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/wasm-smith/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9c514f5

Please sign in to comment.