mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 21:28:21 +00:00
Added access to the raw Wasm instance
This commit is contained in:
@@ -173,6 +173,12 @@ impl Instance {
|
||||
pub fn store(&self) -> &Store {
|
||||
self.module.store()
|
||||
}
|
||||
|
||||
/// Returns the inner WebAssembly Instance
|
||||
#[doc(hidden)]
|
||||
pub fn raw(&self) -> &WebAssembly::Instance {
|
||||
&self.instance
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Instance {
|
||||
|
||||
Reference in New Issue
Block a user