X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fdist.rs;h=c636d4c2b47f0613ba0b9eb5697839622b1cdff6;hb=40c1410ce48d06ce8ee4efe1ce8c7b933259d849;hp=5a7a193897bfad3105da46cc20dfee5769115f7d;hpb=a4e55772625722721d50414f1dcc3388463dbcb6;p=rust.git diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 5a7a193897b..c636d4c2b47 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -2159,6 +2159,10 @@ fn run(self, builder: &Builder<'_>) -> Self::Output { tarball.add_file(path, ".", 0o644); added_anything = true; } + if let Some(path) = builder.config.llvm_bolt_profile_use.as_ref() { + tarball.add_file(path, ".", 0o644); + added_anything = true; + } if added_anything { Some(tarball.generate()) } else { None } } }