Using the latest wasmtime (v31), compiling the attached wasm module with wasmtime compile hangs after updating regalloc to v0.11.3. It compiles instantly when using regalloc v0.11.2 or below.
Specifically:
- Clone wasmtime.
- Checkout the
release-31.0.0 branch.
- Run
cargo update regalloc2 to update to v0.11.3.
- Run
cargo run --release -- compile example.wasm (--release isn't necessary but it demonstrates that it's not just slow due to running in debug mode).
See example.zip (extract it first, GitHub doesn't allow uploading raw wasm files).
I've also tried patching in the latest main branch of regalloc2 and that doesn't seem to help. This points to a bug in #214 that hasn't been fixed yet.