MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / compileWasm

Function compileWasm

test/api/APIAOTNestedVMTest.cpp:126–130  ·  view source on GitHub ↗

Compile embedded wasm

Source from the content-addressed store, hash-verified

124
125/// Compile embedded wasm
126void compileWasm() {
127 TRY(WasmEdge_CompilerCompileFromBuffer)
128 (Ptr{TRY(WasmEdge_CompilerCreate)(nullptr)}, EmbeddedNestedWasm.data(),
129 EmbeddedNestedWasm.size(), PathNestedWasmCompiled);
130}
131
132/// Stack of nested VM
133thread_local std::stack<WasmEdge_ExecutorContext *> ExecutorsStack;

Callers 1

TESTFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected