mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-28 16:11:32 +00:00
Add preliminary support for throwing and catching uncatchable exceptions.
Additional info: - WebAssembly "traps" are uncatchable, but are still caught by the trampoline caller.
This commit is contained in:
@ -6,7 +6,7 @@ static WAT: &'static str = r#"
|
||||
(module
|
||||
(type (;0;) (func (param i32) (result i32)))
|
||||
(func (;0;) (type 0) (param i32) (result i32)
|
||||
i32.const 42)
|
||||
unreachable)
|
||||
(export "select_trap_l" (func 0))
|
||||
)
|
||||
"#;
|
||||
|
Reference in New Issue
Block a user