mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 22:10:11 -05:00
Use fs_err for paths in symlinking errors (#13303)
In #13302, there was an IO error without context. This error seems to be caused by a symlink error. Switching as symlinking to `fs_err` ensures these errors will carry context in the future.
This commit is contained in:
@@ -761,7 +761,7 @@ impl ManagedPythonDownload {
|
||||
// to that date do not.
|
||||
#[cfg(unix)]
|
||||
{
|
||||
match std::os::unix::fs::symlink(
|
||||
match fs_err::os::unix::fs::symlink(
|
||||
format!("python{}.{}", self.key.major, self.key.minor),
|
||||
extracted.join("bin").join("python"),
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user