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

Function createTemp

lib/llvm/codegen.cpp:167–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167std::filesystem::path createTemp(const std::filesystem::path Model) noexcept {
168 while (true) {
169 auto Result = uniquePath(Model);
170 std::error_code Error;
171 if (!std::filesystem::exists(Result, Error)) {
172 if (Error) {
173 return {};
174 }
175 return Result;
176 }
177 }
178}
179
180// Write output object and link
181Expect<void> outputNativeLibrary(const std::filesystem::path &OutputPath,

Callers 2

codegen.cppFile · 0.85
outputWasmLibraryFunction · 0.85

Calls 1

uniquePathFunction · 0.85

Tested by

no test coverage detected