mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 21:58:20 +00:00
Get Wasm C API Hello World working
This commit is contained in:
5
lib/api/src/externals/global.rs
vendored
5
lib/api/src/externals/global.rs
vendored
@@ -108,6 +108,11 @@ impl Global {
|
||||
exported: wasmer_export,
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns whether or not these two globals refer to the same data.
|
||||
pub fn same(&self, other: &Global) -> bool {
|
||||
self.exported.same(&other.exported)
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Global {
|
||||
|
||||
Reference in New Issue
Block a user