about summary refs log tree commit diff
path: root/src/libstd/sys/windows/process2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/windows/process2.rs')
-rw-r--r--src/libstd/sys/windows/process2.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/process2.rs b/src/libstd/sys/windows/process2.rs
index 8a6a485cbbe..e3cf5da59f0 100644
--- a/src/libstd/sys/windows/process2.rs
+++ b/src/libstd/sys/windows/process2.rs
@@ -19,7 +19,7 @@ use fmt;
 use fs;
 use io::{self, Error};
 use libc::{self, c_void};
-use os::windows::OsStrExt;
+use os::windows::ffi::OsStrExt;
 use ptr;
 use sync::{StaticMutex, MUTEX_INIT};
 use sys::handle::Handle;
@@ -128,6 +128,7 @@ impl Process {
         use env::split_paths;
         use mem;
         use iter::IteratorExt;
+        #[cfg(stage0)]
         use str::StrExt;
 
         // To have the spawning semantics of unix/windows stay the same, we need to