Skip to content

Commit 4e6df5a

Browse files
committed
bootstrap: x.py dist rustc-src should keep LLVM's siphash
Fixes #145117
1 parent 2886b36 commit 4e6df5a

File tree

1 file changed

+3
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-0
lines changed

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,12 @@ fn copy_src_dirs(
925925
"llvm-project\\cmake",
926926
"llvm-project/runtimes",
927927
"llvm-project\\runtimes",
928+
"llvm-project/third-party/siphash",
929+
"llvm-project\\third-party\\siphash",
928930
];
929931
if spath.contains("llvm-project")
930932
&& !spath.ends_with("llvm-project")
933+
&& !(spath.ends_with("llvm-project/third-party") || spath.ends_with("llvm-project/third-party"))
931934
&& !LLVM_PROJECTS.iter().any(|path| spath.contains(path))
932935
{
933936
return false;

0 commit comments

Comments
 (0)