Skip to content

Commit

Permalink
Fix y.rs build --sysroot llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jul 26, 2021
1 parent 405642b commit 2abc12d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build_system/build_sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ pub(crate) fn build_sysroot(
{
let file = file.unwrap().path();
let file_name_str = file.file_name().unwrap().to_str().unwrap();
if file_name_str.contains("rustc_")
if (file_name_str.contains("rustc_")
&& !file_name_str.contains("rustc_std_workspace_")
&& !file_name_str.contains("rustc_demangle"))
|| file_name_str.contains("chalk")
|| file_name_str.contains("tracing")
|| file_name_str.contains("regex")
Expand Down

0 comments on commit 2abc12d

Please sign in to comment.