alexcrichton transferred Issue #1243:
The
br_table.wastspec appears to run forever when thejump_tables_enabledflag is set to false. This may be a regression in recent versions like0.49.0as this was not observed in0.44.0.
What are the steps to reproduce the issue?
I used wasmtime at commita2479df32932b2481ae576a9b07a55081288b20cto run the spectests.
- Add
flag_builder.set("jump_tables_enabled", "false").unwrap();towast_testsuites.rsin wasmtime.- Run
cargo test br_tablein wasmtime.- The test appears to run forever.
What do you expect to happen?
The spectest should run to completion.What does actually happen?
The spectest appears to run forever.Which Cranelift version / commit hash / branch are you using?
0.50.0If relevant, can you include some extra information about your environment?
(Rust version, operating system, architecture...)
rustc 1.39.0 (4560ea788 2019-11-04)
macOS Catalina
Last updated: Dec 06 2025 at 05:03 UTC