Fix a missing to_str() on Windows

This commit is contained in:
Richard Feldman 2022-11-22 22:44:42 -05:00
parent dcb7ab97c2
commit bcf53e58fe
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -197,7 +197,7 @@ pub fn build_zig_host_native(
"build-exe",
// "-fPIE", PIE seems to fail on windows
shared_lib_path.to_str().unwrap(),
builtins_host_path,
builtins_host_path.to_str().unwrap(),
]);
} else {
zig_cmd.args(&["build-obj"]);