t!(fs::create_dir_all(&dst));
let src = builder.doc_out(host);
builder.cp_r(&src, &dst);
+ builder.install(&builder.src.join("src/doc/robots.txt"), &dst, 0o644);
let mut cmd = rust_installer(builder);
cmd.arg("generate")
assert!(builder.config.extended);
let name = pkgname(builder, "rust-analysis");
- if &compiler.host != builder.config.build {
+ if compiler.host != builder.config.build {
return distdir(builder).join(format!("{}-{}.tar.gz", name, target));
}
Some(path) => path,
None => return false,
};
- if spath.ends_with("~") || spath.ends_with(".pyc") {
+ if spath.ends_with('~') || spath.ends_with(".pyc") {
return false;
}
"src/libcore",
"src/libpanic_abort",
"src/libpanic_unwind",
- "src/librustc_asan",
- "src/librustc_lsan",
- "src/librustc_msan",
- "src/librustc_tsan",
"src/libstd",
"src/libunwind",
"src/libtest",