Add personality function.

- This is part of supporting exceptions in the future.
This commit is contained in:
Lachlan Sneff
2019-03-02 10:20:18 -08:00
parent a6fc06c908
commit 87ddf4f855
2 changed files with 13 additions and 3 deletions

View File

@ -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)
unreachable)
i32.const 42)
(export "select_trap_l" (func 0))
)
"#;