Using the epoch method it seems like it successfully traps when it goes past the ticks but the timeout error type is never returned. I wanted to publish a bug but was wondering if anyone has encountered this.
Tangentially I was wondering if anyone knows how to get data size of memory from the component Linker
I haven't verified recently but this is (roughly) what we use so hopefully it worked at some point: :sweat_smile:
matches!(err.downcast_ref::<wasmtime::Trap>(), Some(wasmtime::Trap::Interrupt))
My non component test seems to pass so I think it did. Maybe will investigate further and create a bug in git
Last updated: Nov 22 2024 at 17:03 UTC