Skip to content

Commit f994f1e

Browse files
committed
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.
1 parent dc6121c commit f994f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/tarball.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl<'a> Tarball<'a> {
112112
fn new_inner(builder: &'a Builder<'a>, component: &str, target: Option<String>) -> Self {
113113
let pkgname = crate::dist::pkgname(builder, component);
114114

115-
let mut temp_dir = builder.out.join("tmp").join("tarball");
115+
let mut temp_dir = builder.out.join("tmp").join("tarball").join(component);
116116
if let Some(target) = &target {
117117
temp_dir = temp_dir.join(target);
118118
}

0 commit comments

Comments
 (0)