| 165 | } |
| 166 | |
| 167 | std::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 |
| 181 | Expect<void> outputNativeLibrary(const std::filesystem::path &OutputPath, |
no test coverage detected