Rollup merge of #136858 - safinaskar:parallel-cleanup-2025-02-11-07-54, r=SparrowLii
Parallel-compiler-related cleanup Parallel-compiler-related cleanup I carefully split changes into commits. Commit messages are self-explanatory. Squashing is not recommended. cc "Parallel Rustc Front-end" https://github.com/rust-lang/rust/issues/113349 r? SparrowLii ``@rustbot`` label: +WG-compiler-parallel
This commit is contained in:
commit
1f669fdc7d
9 changed files with 17 additions and 77 deletions
|
@ -245,9 +245,6 @@ impl WriteBackendMethods for LlvmCodegenBackend {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
|
||||
unsafe impl Sync for LlvmCodegenBackend {}
|
||||
|
||||
impl LlvmCodegenBackend {
|
||||
pub fn new() -> Box<dyn CodegenBackend> {
|
||||
Box::new(LlvmCodegenBackend(()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue