diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-07 20:28:24 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-07 20:28:24 +0000 |
| commit | 0e9a8540b011a8c0adb0e2c542cfb31c5aaf61a8 (patch) | |
| tree | 51fe09dba5a3600354ce6c0ac031989964352e6d | |
| parent | 25f263ded766cdbb916de3ff5724fe1cfb2fb803 (diff) | |
| download | rust-0e9a8540b011a8c0adb0e2c542cfb31c5aaf61a8.tar.gz rust-0e9a8540b011a8c0adb0e2c542cfb31c5aaf61a8.zip | |
Preserve rustc_literal_escaper with --sysroot llvm
| -rw-r--r-- | build_system/build_sysroot.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_system/build_sysroot.rs b/build_system/build_sysroot.rs index a73e3c87d43..a6e956c51f1 100644 --- a/build_system/build_sysroot.rs +++ b/build_system/build_sysroot.rs @@ -168,7 +168,8 @@ fn build_llvm_sysroot_for_triple(compiler: Compiler) -> SysrootTarget { let file_name_str = file.file_name().unwrap().to_str().unwrap(); if (file_name_str.contains("rustc_") && !file_name_str.contains("rustc_std_workspace_") - && !file_name_str.contains("rustc_demangle")) + && !file_name_str.contains("rustc_demangle") + && !file_name_str.contains("rustc_literal_escaper")) || file_name_str.contains("chalk") || file_name_str.contains("tracing") || file_name_str.contains("regex") |
