pub fn test(build: &Build, target: &str, compiler: &Compiler) {
    println!("Building stage{} test artifacts ({} -> {})", compiler.stage,
             compiler.host, target);
    let out_dir = build.cargo_out(compiler, Mode::Libtest, target);
    build.clear_if_dirty(&out_dir, &libstd_stamp(build, compiler, target));
    let mut cargo = build.cargo(compiler, Mode::Libtest, target, "build");
    if let Ok(target) = env::var("MACOSX_STD_DEPLOYMENT_TARGET") {
        cargo.env("MACOSX_DEPLOYMENT_TARGET", target);
    }
    cargo.arg("--manifest-path")
         .arg(build.src.join("src/libtest/Cargo.toml"));
    build.run(&mut cargo);
    update_mtime(build, &libtest_stamp(build, compiler, target));
}
/// Build libtest.
///
/// This will build libtest and supporting libraries for a particular stage of
/// the build using the `compiler` targeting the `target` architecture. The
/// artifacts created will also be linked into the sysroot directory.
Build libtest.
This will build libtest and supporting libraries for a particular stage of
the build using the `compiler` targeting the `target` architecture. The
artifacts created will also be linked into the sysroot directory.
Build libtest . This will build libtest and supporting libraries for a particular stage of the build using the ` compiler ` targeting the ` target ` architecture . The artifacts created will also be linked into the sysroot directory .
pub fn test(build: &Build, target: &str, compiler: &Compiler) {
    println!("Building stage{} test artifacts ({} -> {})", compiler.stage,
             compiler.host, target);
    let out_dir = build.cargo_out(compiler, Mode::Libtest, target);
    build.clear_if_dirty(&out_dir, &libstd_stamp(build, compiler, target));
    let mut cargo = build.cargo(compiler, Mode::Libtest, target, "build");
    if let Ok(target) = env::var("MACOSX_STD_DEPLOYMENT_TARGET") {
        cargo.env("MACOSX_DEPLOYMENT_TARGET", target);
    }
    cargo.arg("--manifest-path")
         .arg(build.src.join("src/libtest/Cargo.toml"));
    build.run(&mut cargo);
    update_mtime(build, &libtest_stamp(build, compiler, target));
}
pub fn test ( build : & Build , target : & str , compiler : & Compiler ) { println ! ( " " compiler stage compiler host target ) ; let out_dir = build . cargo_out ( compiler , Mode :: Libtest , target ) ; build . clear_if_dirty ( & out_dir , & libstd_stamp ( build , compiler , target ) ) ; let mut cargo = build . cargo ( compiler , Mode :: Libtest , target , " " ) ; if let Ok ( target ) = env :: var ( " " ) { cargo . env ( " " , target ) ; } cargo . arg ( " " ) . arg ( build . src . join ( " " ) ) ; build . run ( & mut cargo ) ; update_mtime ( build , & libtest_stamp ( build , compiler , target ) ) ; }
Build libtest.
Build libtest .
build
&Build
target
&str
compiler
&Compiler
build
&Build
target
&str
compiler
&Compiler