File tree 2 files changed +20
-0
lines changed
src/unix/linux_like/emscripten
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -2980,6 +2980,8 @@ fn test_emscripten(target: &str) {
2980
2980
} ) ;
2981
2981
2982
2982
cfg. skip_field ( move |struct_, field| {
2983
+ // _sigev_un is an anonymous union
2984
+ ( struct_ == "sigevent" && field == "_sigev_un" ) ||
2983
2985
// this is actually a union on linux, so we can't represent it well and
2984
2986
// just insert some padding.
2985
2987
( struct_ == "siginfo_t" && field == "_pad" ) ||
Original file line number Diff line number Diff line change @@ -342,6 +342,24 @@ s! {
342
342
}
343
343
344
344
s_no_extra_traits ! {
345
+ #[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
346
+ pub struct aiocb {
347
+ pub aio_fildes: :: c_int,
348
+ pub aio_lio_opcode: :: c_int,
349
+ pub aio_reqprio: :: c_int,
350
+ pub aio_buf: * mut :: c_void,
351
+ pub aio_nbytes: :: size_t,
352
+ pub aio_sigevent: :: sigevent,
353
+ __td: * mut :: c_void,
354
+ __lock: [ :: c_int; 2 ] ,
355
+ __err: :: c_int,
356
+ __ret: :: ssize_t,
357
+ pub aio_offset: off_t,
358
+ __next: * mut :: c_void,
359
+ __prev: * mut :: c_void,
360
+ __dummy4: [ :: c_char; 24 ] ,
361
+ }
362
+
345
363
pub struct dirent {
346
364
pub d_ino: :: ino_t,
347
365
pub d_off: :: off_t,
You can’t perform that action at this time.
0 commit comments