##// END OF EJS Templates
rust: move import of PathBuf...
Gregory Szorc -
r35621:11c86ab6 default
parent child Browse files
Show More
@@ -8,9 +8,6 b''
8 8 use std::collections::HashMap;
9 9 use std::env;
10 10 use std::path::Path;
11 #[cfg(target_os = "windows")]
12 use std::path::PathBuf;
13
14 11 use std::process::Command;
15 12
16 13 struct PythonConfig {
@@ -77,6 +74,8 b' fn have_shared(config: &PythonConfig) ->'
77 74
78 75 #[cfg(target_os = "windows")]
79 76 fn have_shared(config: &PythonConfig) -> bool {
77 use std::path::PathBuf;
78
80 79 // python27.dll should exist next to python2.7.exe.
81 80 let mut dll = PathBuf::from(&config.python);
82 81 dll.pop();
General Comments 0
You need to be logged in to leave comments. Login now