This commit is contained in:
Brendan Hansknecht 2022-07-05 13:37:10 -07:00
parent c10ddf8594
commit d9c651898b
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -71,7 +71,7 @@ fn find_zig_str_path() -> PathBuf {
.and_then(|path| Some(path.parent()?.join("lib").join("str.zig")));
if let Some(exe_relative_str_path) = exe_relative_str_path {
if std::path::Path::exists(&exe_relative_str_path) {
return exe_relative_str_path.into();
return exe_relative_str_path;
}
}