Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ memory
Method
memory
crates/c-api/src/memory.rs:26–31 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
}
25
26
fn memory(&self) -> Memory {
27
match self.ext.which {
28
Extern::Memory(m) => m,
29
_ => unsafe { std::hint::unreachable_unchecked() },
30
}
31
}
32
}
33
34
#[unsafe(no_mangle)]
Callers
5
wasm_memory_type
Function · 0.45
wasm_memory_data
Function · 0.45
wasm_memory_data_size
Function · 0.45
wasm_memory_size
Function · 0.45
wasm_memory_grow
Function · 0.45
Calls
1
unreachable_unchecked
Function · 0.85
Tested by
no test coverage detected