compiler/rustc_codegen_llvm/src/lib.rs: remove "unsafe impl Send/Sync"
This commit is contained in:
@@ -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(()))
|
||||
|
||||
Reference in New Issue
Block a user