MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / ~TestContext

Method ~TestContext

test/api/APIAOTCoreTest.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 WasmEdge_VMRegisterModuleFromImport(VM, TestModCxt);
67 }
68 ~TestContext() {
69 WasmEdge_VMDelete(VM);
70 WasmEdge_ModuleInstanceDelete(TestModCxt);
71 WasmEdge_CompilerDelete(CompilerCxt);
72 }
73 Expect<std::string> compile(const std::string &FileName) {
74 auto Path = std::filesystem::u8path(FileName);
75 Path.replace_extension(std::filesystem::u8path(WASMEDGE_LIB_EXTENSION));

Callers

nothing calls this directly

Calls 3

WasmEdge_VMDeleteFunction · 0.85
WasmEdge_CompilerDeleteFunction · 0.85

Tested by

no test coverage detected