preemptively fix windows compilation errors

This commit is contained in:
Jorge Aparicio 2015-03-12 00:25:33 -05:00
parent cb5e429291
commit 6d49476e7b
2 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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