Add well placed unwind(allowed) attribute

This commit is contained in:
Lachlan Sneff
2019-04-11 12:07:54 -07:00
parent 81fcecd705
commit c898439817
7 changed files with 20 additions and 5 deletions

View File

@ -59,9 +59,9 @@ fn main() -> Result<(), error::Error> {
},
})?;
let foo: Func<(), i32> = instance.func("dbz")?;
let foo = instance.dyn_func("dbz")?;
let result = foo.call();
let result = foo.call(&[]);
println!("result: {:?}", result);