Enables build for *-linux-musl (#1627)

Also contributes to being able to build for *-w64-mingw32.

Cf. https://github.com/JuliaPackaging/Yggdrasil/pull/9761
This commit is contained in:
Jesper Stemann Andersen
2024-11-27 22:14:24 +01:00
committed by GitHub
parent 698e63a608
commit af2af818a6
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ bool compile_available_for_device(const Device& device) {
} // namespace detail
std::string get_temp_file(const std::string& name) {
return std::filesystem::temp_directory_path().append(name);
return std::filesystem::temp_directory_path().append(name).string();
}
// Return a pointer to a compiled function