Skip to content

Commit 0e9a854

Browse files
committed
Preserve rustc_literal_escaper with --sysroot llvm
1 parent 25f263d commit 0e9a854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_system/build_sysroot.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ fn build_llvm_sysroot_for_triple(compiler: Compiler) -> SysrootTarget {
168168
let file_name_str = file.file_name().unwrap().to_str().unwrap();
169169
if (file_name_str.contains("rustc_")
170170
&& !file_name_str.contains("rustc_std_workspace_")
171-
&& !file_name_str.contains("rustc_demangle"))
171+
&& !file_name_str.contains("rustc_demangle")
172+
&& !file_name_str.contains("rustc_literal_escaper"))
172173
|| file_name_str.contains("chalk")
173174
|| file_name_str.contains("tracing")
174175
|| file_name_str.contains("regex")

0 commit comments

Comments
 (0)