Rollup merge of #80434 - pietroalbini:tarball-temp-dir, r=Mark-Simulacrum

bootstrap: put the component name in the tarball temp dir path

This should not matter right now, but if we ever parallelize rustbuild this will avoid tarball contents being merged together.

r? `@Mark-Simulacrum`
This commit is contained in:
Dylan DPC 2020-12-28 14:13:23 +01:00 committed by GitHub
commit a4a59a0f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ impl<'a> Tarball<'a> {
fn new_inner(builder: &'a Builder<'a>, component: &str, target: Option<String>) -> Self {
let pkgname = crate::dist::pkgname(builder, component);
let mut temp_dir = builder.out.join("tmp").join("tarball");
let mut temp_dir = builder.out.join("tmp").join("tarball").join(component);
if let Some(target) = &target {
temp_dir = temp_dir.join(target);
}