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: Nov 22 2024 at 16:03 UTC