Skip to content

Commit

Permalink
fixup! tests: add tests/spec_testsuite/proposals/threads
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Nov 20, 2022
1 parent fb9ed5a commit 05efbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/all/wast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ fn run_wast(wast: &str, strategy: Strategy, pooling: bool) -> anyhow::Result<()>
Strategy::Cranelift => {}
_ => unimplemented!(),
}
let reference_types = !wast.contains("/proposals/threads/");

let wast = Path::new(wast);

let memory64 = feature_found(wast, "memory64");
let multi_memory = feature_found(wast, "multi-memory");
let threads = feature_found(wast, "threads");
let reference_types = !(threads && feature_found(wast, "proposals"));
let use_shared_memory = feature_found_src(&wast_bytes, "shared_memory")
|| feature_found_src(&wast_bytes, "shared)");

Expand Down

0 comments on commit 05efbe4

Please sign in to comment.