Are there tests somewhere for trap handling code?
I did a quick look, but I didn't find anything
@Benjamin Brittain are you looking for API tests https://github.com/bytecodealliance/wasmtime/blob/master/crates/api/tests/traps.rs ?
ah, that's fantastic!
I was looking in the same crate as the trap_handler.rs
this is a bit higher level than what I was looking for, but it'll work for me :)
Last updated: Dec 23 2024 at 13:07 UTC