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 ptr;
|
||||||
use result::Result;
|
use result::Result;
|
||||||
use result::Result::{Ok, Err};
|
use result::Result::{Ok, Err};
|
||||||
|
#[cfg(stage0)]
|
||||||
use slice::SliceExt;
|
use slice::SliceExt;
|
||||||
|
#[cfg(stage0)]
|
||||||
use str::StrExt;
|
use str::StrExt;
|
||||||
use str;
|
use str;
|
||||||
use string::String;
|
use string::String;
|
||||||
|
|
|
@ -128,6 +128,7 @@ impl Process {
|
||||||
use env::split_paths;
|
use env::split_paths;
|
||||||
use mem;
|
use mem;
|
||||||
use iter::IteratorExt;
|
use iter::IteratorExt;
|
||||||
|
#[cfg(stage0)]
|
||||||
use str::StrExt;
|
use str::StrExt;
|
||||||
|
|
||||||
// To have the spawning semantics of unix/windows stay the same, we need to
|
// To have the spawning semantics of unix/windows stay the same, we need to
|
||||||
|
|
Loading…
Reference in a new issue