We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a9a70b + f286859 commit 27dcd87Copy full SHA for 27dcd87
src/libstd/unstable/mutex.rs
@@ -153,13 +153,17 @@ mod imp {
153
static __SIZEOF_PTHREAD_MUTEX_T: uint = 40 - 8;
154
#[cfg(target_arch = "x86")]
155
static __SIZEOF_PTHREAD_MUTEX_T: uint = 24 - 8;
156
+ #[cfg(target_arch = "arm")]
157
+ static __SIZEOF_PTHREAD_MUTEX_T: uint = 24 - 8;
158
#[cfg(target_arch = "x86_64")]
159
static __SIZEOF_PTHREAD_COND_T: uint = 48 - 8;
160
161
162
163
+ static __SIZEOF_PTHREAD_COND_T: uint = 48 - 8;
164
165
pub struct pthread_mutex_t {
- __align: libc::c_long,
166
+ __align: libc::c_longlong,
167
size: [u8, ..__SIZEOF_PTHREAD_MUTEX_T],
168
}
169
pub struct pthread_cond_t {
0 commit comments