Stream: wasmtime

Topic: Tests


view this post on Zulip Benjamin Brittain (Mar 30 2020 at 17:06):

Are there tests somewhere for trap handling code?

view this post on Zulip Benjamin Brittain (Mar 30 2020 at 17:06):

I did a quick look, but I didn't find anything

view this post on Zulip Yury Delendik (Mar 30 2020 at 17:19):

@Benjamin Brittain are you looking for API tests https://github.com/bytecodealliance/wasmtime/blob/master/crates/api/tests/traps.rs ?

Standalone JIT-style runtime for WebAssembly, using Cranelift - bytecodealliance/wasmtime

view this post on Zulip Benjamin Brittain (Mar 30 2020 at 17:20):

ah, that's fantastic!

view this post on Zulip Benjamin Brittain (Mar 30 2020 at 17:20):

I was looking in the same crate as the trap_handler.rs

view this post on Zulip Benjamin Brittain (Mar 30 2020 at 17:21):

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