wasmfx / wasmfxtime

A fork of wasmtime (a fast and secure runtime for WebAssembly) supporting the WasmFX instruction set
https://wasmfx.dev/
Apache License 2.0
19 stars 1 forks source link

Plan to support switch handlers? #247

Open byeongjee opened 3 weeks ago

byeongjee commented 3 weeks ago

Hi, are there any plans to implement the switch handler features (marked as unimplemented and todo in the following) in the near future? I am trying to run an example from the stack switching proposal documentation, but it seems that it is currently not supported.

https://github.com/wasmfx/wasmfxtime/blob/7e572cdfaf56f1ef875b8069ee37293353377d62/crates/cranelift/src/translate/code_translator.rs#L2910

https://github.com/wasmfx/wasmfxtime/blob/7e572cdfaf56f1ef875b8069ee37293353377d62/crates/cranelift/src/translate/code_translator.rs#L2933-L2936

dhil commented 3 weeks ago

Yes! In fact it is the next item on the agenda.

byeongjee commented 3 weeks ago

That sounds great! Thank you!