Skip to content

Commit 851cc4b

Browse files
committedFeb 11, 2025
compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"
1 parent afa01c1 commit 851cc4b

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_codegen_gcc/src/back

1 file changed

+0
-4
lines changed
 

‎compiler/rustc_codegen_gcc/src/back/lto.rs

-4
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)