compiler/rustc_codegen_llvm/src/lib.rs: remove "unsafe impl Send/Sync"
This commit is contained in:
parent
851cc4bed4
commit
51f49d8464
1 changed files with 0 additions and 3 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 {
|
impl LlvmCodegenBackend {
|
||||||
pub fn new() -> Box<dyn CodegenBackend> {
|
pub fn new() -> Box<dyn CodegenBackend> {
|
||||||
Box::new(LlvmCodegenBackend(()))
|
Box::new(LlvmCodegenBackend(()))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue