diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-24 08:24:51 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 16:21:03 +1000 |
| commit | d404699fb170d146114d9be2cb2f5935aeee4047 (patch) | |
| tree | dde991b8a59d0cf4b7a6ce54a5bdeb4ea3df3646 /compiler/rustc_codegen_ssa/src | |
| parent | 90ce358afa1ac796e320f9c60463b604f30c7eeb (diff) | |
| download | rust-d404699fb170d146114d9be2cb2f5935aeee4047.tar.gz rust-d404699fb170d146114d9be2cb2f5935aeee4047.zip | |
Fix LLVM thread names on Windows.
PR #112946 tweaked the naming of LLVM threads, but messed things up
slightly, resulting in threads on Windows having names like `optimize
module {} regex.f10ba03eb5ec7975-cgu.0`.
This commit removes the extraneous `{} `.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 1f6d73994cf..5eff62df7d6 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -740,9 +740,9 @@ impl<B: WriteBackendMethods> WorkItem<B> { } match self { - WorkItem::Optimize(m) => desc("opt", "optimize module {}", &m.name), - WorkItem::CopyPostLtoArtifacts(m) => desc("cpy", "copy LTO artifacts for {}", &m.name), - WorkItem::LTO(m) => desc("lto", "LTO module {}", m.name()), + WorkItem::Optimize(m) => desc("opt", "optimize module", &m.name), + WorkItem::CopyPostLtoArtifacts(m) => desc("cpy", "copy LTO artifacts for", &m.name), + WorkItem::LTO(m) => desc("lto", "LTO module", m.name()), } } } |
