Skip to content

Commit 51f49d8

Browse files
committed
compiler/rustc_codegen_llvm/src/lib.rs: remove "unsafe impl Send/Sync"
1 parent 851cc4b commit 51f49d8

File tree

1 file changed

+0
-3
lines changed
  • compiler/rustc_codegen_llvm/src

1 file changed

+0
-3
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ impl WriteBackendMethods for LlvmCodegenBackend {
245245
}
246246
}
247247

248-
unsafe impl Send for LlvmCodegenBackend {} // Llvm is on a per-thread basis
249-
unsafe impl Sync for LlvmCodegenBackend {}
250-
251248
impl LlvmCodegenBackend {
252249
pub fn new() -> Box<dyn CodegenBackend> {
253250
Box::new(LlvmCodegenBackend(()))

0 commit comments

Comments
 (0)