mirror of https://github.com/astral-sh/uv
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
|
|
@ -127,8 +127,8 @@ impl Interpreter {
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
{
|
{
|
||||||
if let Some(python_version) = python_version {
|
if let Some(_python_version) = python_version {
|
||||||
compile_error!("Implement me")
|
unimplemented!("Implement me")
|
||||||
}
|
}
|
||||||
|
|
||||||
let executable = which::which("python.exe")
|
let executable = which::which("python.exe")
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,7 @@ impl Virtualenv {
|
||||||
}
|
}
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
{
|
{
|
||||||
self.0
|
self.root.join("Scripts").join("python.exe")
|
||||||
.join("Scripts")
|
|
||||||
.join("python.exe")
|
|
||||||
.into_std_path_buf()
|
|
||||||
}
|
}
|
||||||
#[cfg(not(any(unix, windows)))]
|
#[cfg(not(any(unix, windows)))]
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue