MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / load_module

Function load_module

crates/cli/src/load.rs:20–23  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

18}
19
20pub fn load_module(input: &str) -> Result<LoadedModule> {
21 let bytes = read_input_bytes(input)?;
22 load_module_from_bytes(input, &bytes)
23}
24
25pub fn load_compilable_module(input: &str) -> Result<Module> {
26 let loaded = load_module(input)?;

Callers 4

load_compilable_moduleFunction · 0.85
runFunction · 0.85
runFunction · 0.85
runFunction · 0.85

Calls 2

read_input_bytesFunction · 0.85
load_module_from_bytesFunction · 0.85

Tested by 1

runFunction · 0.68