Skip to content

Commit

Permalink
bootstrap: put the component name in the tarball temp dir path
Browse files Browse the repository at this point in the history
This should not matter right now, but if we ever parallelize rustbuild
this will avoid tarball contents being merged together.
  • Loading branch information
pietroalbini committed Dec 28, 2020
1 parent dc6121c commit f994f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/tarball.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f994f1e

Please sign in to comment.