pub fn test<'a>(build: &'a Build, target: &str, compiler: &Compiler<'a>) {
    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_shim(build, compiler, target));
    let mut cargo = build.cargo(compiler, Mode::Libtest, target, "build");
    cargo.arg("--manifest-path")
         .arg(build.src.join("src/rustc/test_shim/Cargo.toml"));
    build.run(&mut cargo);
    test_link(build, target, compiler, compiler.host);
}
/// 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<'a>(build: &'a Build, target: &str, compiler: &Compiler<'a>) {
    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_shim(build, compiler, target));
    let mut cargo = build.cargo(compiler, Mode::Libtest, target, "build");
    cargo.arg("--manifest-path")
         .arg(build.src.join("src/rustc/test_shim/Cargo.toml"));
    build.run(&mut cargo);
    test_link(build, target, compiler, compiler.host);
}
pub fn test < ' a > ( build : & ' a Build , target : & str , compiler : & Compiler < ' a > ) { println ! ( " " compiler stage compiler host target ) ; let out_dir = build . cargo_out ( compiler , Mode :: Libtest , target ) ; build . clear_if_dirty ( & out_dir , & libstd_shim ( build , compiler , target ) ) ; let mut cargo = build . cargo ( compiler , Mode :: Libtest , target , " " ) ; cargo . arg ( " " ) . arg ( build . src . join ( " " ) ) ; build . run ( & mut cargo ) ; test_link ( build , target , compiler , compiler . host ) ; }
Build libtest.
Build libtest .
build
&'a Build
target
&str
compiler
&Compiler<'a>
build
&'a Build
target
&str
compiler
&Compiler<'a>