mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Make windows compile (#1035)
Minimal changes to make `cargo check`/`cargo run` work to unblock the remaining PR stacking
This commit is contained in:
parent
b9bee013ce
commit
765e3175e1
2 changed files with 3 additions and 6 deletions
|
@ -127,8 +127,8 @@ impl Interpreter {
|
|||
|
||||
#[cfg(windows)]
|
||||
{
|
||||
if let Some(python_version) = python_version {
|
||||
compile_error!("Implement me")
|
||||
if let Some(_python_version) = python_version {
|
||||
unimplemented!("Implement me")
|
||||
}
|
||||
|
||||
let executable = which::which("python.exe")
|
||||
|
|
|
@ -51,10 +51,7 @@ impl Virtualenv {
|
|||
}
|
||||
#[cfg(windows)]
|
||||
{
|
||||
self.0
|
||||
.join("Scripts")
|
||||
.join("python.exe")
|
||||
.into_std_path_buf()
|
||||
self.root.join("Scripts").join("python.exe")
|
||||
}
|
||||
#[cfg(not(any(unix, windows)))]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue