Caller get_export() implemented for Extern::Func. (#2108)
* Caller get_export() implemented for func * update tests for get_export() Extern::Func return Signed-off-by: Christopher Agia <chrisagia@google.com> * document get_export() for Extern::Func Signed-off-by: Christopher Agia <chrisagia@google.com>
This commit is contained in:
@@ -409,7 +409,7 @@ fn caller_memory() -> anyhow::Result<()> {
|
||||
|
||||
let f = Func::wrap(&store, |c: Caller<'_>| {
|
||||
assert!(c.get_export("m").is_some());
|
||||
assert!(c.get_export("f").is_none());
|
||||
assert!(c.get_export("f").is_some());
|
||||
assert!(c.get_export("g").is_none());
|
||||
assert!(c.get_export("t").is_none());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user