Set UV to the uv executable path (#11326)

This commit is contained in:
Zanie Blue 2025-02-13 12:44:08 -06:00
parent 553b3a7c34
commit 5765e4bdee
6 changed files with 74 additions and 7 deletions

View file

@ -545,6 +545,18 @@ Path to system-level configuration directory on Windows systems.
Use to create the tracing durations file via the `tracing-durations-export` feature.
### `UV`
The path to the binary that was used to invoke uv.
This is propagated to all subprocesses spawned by uv.
If the executable was invoked through a symbolic link, some platforms will return the path
of the symbolic link and other platforms will return the path of the symbolic links target.
See <https://doc.rust-lang.org/std/env/fn.current_exe.html#security> for security
considerations.
### `VIRTUAL_ENV`
Used to detect an activated virtual environment.