There was an error while loading. Please reload this page.
1 parent b4271d1 commit 44fb834Copy full SHA for 44fb834
1 file changed
crates/r2x-python/src/utils.rs
@@ -4,9 +4,11 @@
4
//! between Windows and Unix-like systems in Python virtual environments.
5
6
use super::errors::BridgeError;
7
-use std::fs;
8
use std::path::PathBuf;
9
+#[cfg(not(windows))]
10
+use std::fs;
11
+
12
/// The name of the library directory in a Python venv (e.g., "Lib" on Windows, "lib" on Unix)
13
#[cfg(windows)]
14
const PYTHON_LIB_DIR: &str = "Lib";
0 commit comments