compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"
This commit is contained in:
parent
afa01c145c
commit
851cc4bed4
1 changed files with 0 additions and 4 deletions
|
@ -710,10 +710,6 @@ pub struct ThinBuffer {
|
|||
context: Arc<SyncContext>,
|
||||
}
|
||||
|
||||
// TODO: check if this makes sense to make ThinBuffer Send and Sync.
|
||||
unsafe impl Send for ThinBuffer {}
|
||||
unsafe impl Sync for ThinBuffer {}
|
||||
|
||||
impl ThinBuffer {
|
||||
pub(crate) fn new(context: &Arc<SyncContext>) -> Self {
|
||||
Self { context: Arc::clone(context) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue