preemptively fix windows compilation errors
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user