We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecc1fd commit 4f97910Copy full SHA for 4f97910
src/unix/uclibc/arm/align.rs
@@ -0,0 +1,13 @@
1
+s! {
2
+ // FIXME this is actually a union
3
+ #[cfg_attr(target_pointer_width = "32",
4
+ repr(align(4)))]
5
+ #[cfg_attr(target_pointer_width = "64",
6
+ repr(align(8)))]
7
+ pub struct sem_t {
8
+ #[cfg(target_pointer_width = "32")]
9
+ __size: [::c_char; 16],
10
+ #[cfg(target_pointer_width = "64")]
11
+ __size: [::c_char; 32],
12
+ }
13
+}
0 commit comments