Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ global
Method
global
crates/c-api/src/global.rs:26–31 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
}
25
26
fn global(&self) -> Global {
27
match self.ext.which {
28
Extern::Global(g) => g,
29
_ => unsafe { std::hint::unreachable_unchecked() },
30
}
31
}
32
}
33
34
#[unsafe(no_mangle)]
Callers
14
command
Method · 0.80
_serialize
Method · 0.80
wasm_global_type
Function · 0.80
wasm_global_get
Function · 0.80
wasm_global_set
Function · 0.80
build_raw_intrinsics
Function · 0.80
instantiate
Method · 0.80
evaluate
Method · 0.80
get_global
Method · 0.80
get_memory
Method · 0.80
globals
Method · 0.80
wasm
Method · 0.80
Calls
1
unreachable_unchecked
Function · 0.85
Tested by
no test coverage detected