MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / main

Function main

examples/min-platform/src/main.rs:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3#[cfg(not(target_os = "linux"))]
4fn main() -> Result<()> {
5 eprintln!("This example only runs on Linux right now");
6 Ok(())
7}
8
9#[cfg(target_os = "linux")]
10fn main() -> Result<()> {

Callers

nothing calls this directly

Calls 15

OkFunction · 0.85
precompile_moduleMethod · 0.80
with_contextMethod · 0.80
precompile_componentMethod · 0.80
readFunction · 0.50
parseFunction · 0.50
newFunction · 0.50
runFunction · 0.50
run_wasiFunction · 0.50
nextMethod · 0.45
symbolsMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected