uv/crates/uv-cache
Charlie Marsh 8b8f34ac21
Avoid canonicalizing executables on Windows (#5446)
## Summary

If you have an executable path on a network share path (like
`\\some-host\some-share\...\python.exe`), canonicalizing it adds the
`\\?` prefix, but dunce cannot safely strip it.

This PR changes the Windows logic to avoid canonicalizing altogether. We
don't really expect symlinks on Windows, so it seems unimportant to
resolve them.

Closes: https://github.com/astral-sh/uv/issues/5440.
2024-07-26 08:57:33 -04:00
..
src Avoid canonicalizing executables on Windows (#5446) 2024-07-26 08:57:33 -04:00
Cargo.toml Use fs_err for cachedir errors (#3304) 2024-04-29 16:33:10 +02:00