preemptively fix windows compilation errors
This commit is contained in:
parent
cb5e429291
commit
6d49476e7b
2 changed files with 3 additions and 0 deletions
|
@ -272,7 +272,9 @@ mod dl {
|
|||
use ptr;
|
||||
use result::Result;
|
||||
use result::Result::{Ok, Err};
|
||||
#[cfg(stage0)]
|
||||
use slice::SliceExt;
|
||||
#[cfg(stage0)]
|
||||
use str::StrExt;
|
||||
use str;
|
||||
use string::String;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue