Make windows compile (#1035)

Minimal changes to make `cargo check`/`cargo run` work to unblock the
remaining PR stacking
This commit is contained in:
konsti 2024-01-22 14:11:20 +01:00 committed by GitHub
parent b9bee013ce
commit 765e3175e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View file

@ -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")

View file

@ -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)))]
{