Skip to content

Commit d1a19e8

Browse files
committed
rollup merge of #20321: epall/patch-1
In f436f9c, the Send and Sync traits became `unsafe`. They were updated for `target_arch = x86` and others, but `mips` was missed.
2 parents 360c3cf + 011b5ca commit d1a19e8

File tree

1 file changed

+2
-2
lines changed
  • src/libstd/sys/unix

1 file changed

+2
-2
lines changed

src/libstd/sys/unix/c.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ mod signal {
214214
sa_resv: [libc::c_int, ..1],
215215
}
216216

217-
impl ::kinds::Send for sigaction { }
218-
impl ::kinds::Sync for sigaction { }
217+
unsafe impl ::kinds::Send for sigaction { }
218+
unsafe impl ::kinds::Sync for sigaction { }
219219

220220
#[repr(C)]
221221
pub struct sigset_t {

0 commit comments

Comments
 (0)