Skip to content

Commit 3b40f84

Browse files
committed
fix: gate WINPYTHON_HOME_ENV_VAR behind #[cfg(windows)] (PR #456)
1 parent ca451da commit 3b40f84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ tmp/
1818
temp/
1919
docs/node_modules/
2020
docs/package.json
21-
docs/package-lock.json
21+
docs/package-lock.jsonpr-status.json

crates/pet-winpython/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use std::{
3030
///
3131
/// Multiple paths can be provided, separated by the platform path separator
3232
/// (`;` on Windows, `:` elsewhere).
33-
#[cfg(any(windows, test))]
33+
#[cfg(windows)]
3434
const WINPYTHON_HOME_ENV_VAR: &str = "WINPYTHON_HOME";
3535

3636
lazy_static! {

0 commit comments

Comments
 (0)