Skip to content
/ rust Public
forked from rust-lang/rust

Commit d404699

Browse files
committed
Fix LLVM thread names on Windows.
PR rust-lang#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 `{} `.
1 parent 90ce358 commit d404699

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+3
-3
lines changed

compiler/rustc_codegen_ssa/src/back/write.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ impl<B: WriteBackendMethods> WorkItem<B> {
740740
}
741741

742742
match self {
743-
WorkItem::Optimize(m) => desc("opt", "optimize module {}", &m.name),
744-
WorkItem::CopyPostLtoArtifacts(m) => desc("cpy", "copy LTO artifacts for {}", &m.name),
745-
WorkItem::LTO(m) => desc("lto", "LTO module {}", m.name()),
743+
WorkItem::Optimize(m) => desc("opt", "optimize module", &m.name),
744+
WorkItem::CopyPostLtoArtifacts(m) => desc("cpy", "copy LTO artifacts for", &m.name),
745+
WorkItem::LTO(m) => desc("lto", "LTO module", m.name()),
746746
}
747747
}
748748
}

0 commit comments

Comments
 (0)