Skip to content

Commit f208a45

Browse files
committed
bootstrap: x.py dist rustc-src should keep LLVM's siphash
1 parent 2886b36 commit f208a45

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,13 @@ 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")
934+
|| spath.ends_with("llvm-project\\third-party"))
931935
&& !LLVM_PROJECTS.iter().any(|path| spath.contains(path))
932936
{
933937
return false;

0 commit comments

Comments
 (0)