Skip to content

Commit d7f2227

Browse files
committed
compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"
1 parent 5bf05c1 commit d7f2227

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/back/lto.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -710,10 +710,6 @@ pub struct ThinBuffer {
710710
context: Arc<SyncContext>,
711711
}
712712

713-
// TODO: check if this makes sense to make ThinBuffer Send and Sync.
714-
unsafe impl Send for ThinBuffer {}
715-
unsafe impl Sync for ThinBuffer {}
716-
717713
impl ThinBuffer {
718714
pub(crate) fn new(context: &Arc<SyncContext>) -> Self {
719715
Self { context: Arc::clone(context) }

0 commit comments

Comments
 (0)