File tree 2 files changed +9
-0
lines changed
src/unix/linux_like/android
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1550,6 +1550,7 @@ fn test_android(target: &str) {
1550
1550
"sched.h" ,
1551
1551
"semaphore.h" ,
1552
1552
"signal.h" ,
1553
+ "spawn.h" ,
1553
1554
"stddef.h" ,
1554
1555
"stdint.h" ,
1555
1556
"stdio.h" ,
@@ -1709,6 +1710,10 @@ fn test_android(target: &str) {
1709
1710
1710
1711
// FIXME: Somehow fails to test after removing cfg hacks:
1711
1712
"__uint128" => true ,
1713
+
1714
+ // These are intended to be opaque
1715
+ "posix_spawn_file_actions_t" => true ,
1716
+ "posix_spawnattr_t" => true ,
1712
1717
_ => false ,
1713
1718
}
1714
1719
} ) ;
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ pub type Elf64_Xword = u64;
48
48
49
49
pub type eventfd_t = u64 ;
50
50
51
+ // these structs sit behind a heap allocation on Android
52
+ pub type posix_spawn_file_actions_t = * mut :: c_void ;
53
+ pub type posix_spawnattr_t = * mut :: c_void ;
54
+
51
55
s ! {
52
56
pub struct stack_t {
53
57
pub ss_sp: * mut :: c_void,
You can’t perform that action at this time.
0 commit comments