Skip to content

Commit a23c8ca

Browse files
committed
Auto merge of #3256 - vita-rust:pthread-fixup, r=JohnTitor
Fixed pthread_attr_t and pthread_rwlockattr_t for newlib A follow-up to #3255 (https://github.com/rust-lang/libc/pull/3255/files#diff-11a2a6578a3a63a601856de0cbfaa5c7f41dcecab5532a1c8b9662656894e126L222) My apologies, these should have been u8 arrays.
2 parents e2d90cd + 21c1340 commit a23c8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/newlib/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ s! {
234234
}
235235

236236
pub struct pthread_attr_t { // Unverified
237-
__size: [u64; __SIZEOF_PTHREAD_ATTR_T]
237+
__size: [u8; __SIZEOF_PTHREAD_ATTR_T]
238238
}
239239

240240
pub struct pthread_rwlockattr_t { // Unverified
241-
__size: [u64; __SIZEOF_PTHREAD_RWLOCKATTR_T]
241+
__size: [u8; __SIZEOF_PTHREAD_RWLOCKATTR_T]
242242
}
243243
}
244244

0 commit comments

Comments
 (0)