mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-11 07:08:21 +00:00
feat(deprecated) Port Instance::exports().
This commit is contained in:
@@ -53,4 +53,12 @@ impl Instance {
|
||||
.call(params)?
|
||||
.into_vec())
|
||||
}
|
||||
|
||||
#[deprecated(
|
||||
since = "__NEXT_VERSION__",
|
||||
note = "Please use `instance.exports` instead."
|
||||
)]
|
||||
pub fn exports(&self) -> &new::wasmer::Exports {
|
||||
&self.new_instance.exports
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user