From 21c1340e3b7bddbe3d5114fadda2859e4d81556e Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Sun, 28 May 2023 12:54:14 +0300 Subject: [PATCH] Fixed pthread_attr_t and pthread_rwlockattr_t for newlib --- src/unix/newlib/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/newlib/mod.rs b/src/unix/newlib/mod.rs index 00b23a9a8664d..ce84f1421f0ea 100644 --- a/src/unix/newlib/mod.rs +++ b/src/unix/newlib/mod.rs @@ -234,11 +234,11 @@ s! { } pub struct pthread_attr_t { // Unverified - __size: [u64; __SIZEOF_PTHREAD_ATTR_T] + __size: [u8; __SIZEOF_PTHREAD_ATTR_T] } pub struct pthread_rwlockattr_t { // Unverified - __size: [u64; __SIZEOF_PTHREAD_RWLOCKATTR_T] + __size: [u8; __SIZEOF_PTHREAD_RWLOCKATTR_T] } }