MCPcopy Create free account
hub / github.com/PLSysSec/wave / run

Function run

waverunner/src/waverunner.rs:86–90  ·  view source on GitHub ↗

Run consists of 3 steps: 1. Set up runtime 2. Execute AOT-compiled Wasm binary 3. Teardown runtime

(config: &WaveConfig)

Source from the content-addressed store, hash-verified

84// 2. Execute AOT-compiled Wasm binary
85// 3. Teardown runtime
86pub fn run(config: &WaveConfig) {
87 let sandbox = setup(config);
88 let _result = execute(&sandbox);
89 teardown(sandbox);
90}
91

Callers 1

mainFunction · 0.85

Calls 3

setupFunction · 0.85
executeFunction · 0.85
teardownFunction · 0.85

Tested by

no test coverage detected