#![feature(slice_concat_ext)]
extern crate compiletest_rs as compiletest;
+extern crate dirs;
use std::slice::SliceConcatExt;
use std::path::{PathBuf, Path};
// skip fullmir on nonhost
return;
}
- let sysroot = std::env::home_dir().unwrap()
+ let sysroot = dirs::home_dir().unwrap()
.join(".xargo")
.join("HOST");
flags.push(format!("--sysroot {}", sysroot.to_str().unwrap()));
// skip fullmir on nonhost
return;
}
- let sysroot = std::env::home_dir().unwrap()
+ let sysroot = dirs::home_dir().unwrap()
.join(".xargo")
.join("HOST");