From 75903679bd234bd9cb26aafb716c8d5cf7536693 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Tue, 19 Nov 2024 10:19:47 -0700 Subject: [PATCH] Fixup: Don't define aiocb on emscripten This resulted from a merge conflict with 01c72ee99a0 when rebasing my PR --- src/unix/linux_like/emscripten/mod.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/unix/linux_like/emscripten/mod.rs b/src/unix/linux_like/emscripten/mod.rs index ef7489c950c14..a6666c6a61d51 100644 --- a/src/unix/linux_like/emscripten/mod.rs +++ b/src/unix/linux_like/emscripten/mod.rs @@ -342,24 +342,6 @@ s! { } s_no_extra_traits! { - #[cfg_attr(feature = "extra_traits", derive(Debug))] - pub struct aiocb { - pub aio_fildes: ::c_int, - pub aio_lio_opcode: ::c_int, - pub aio_reqprio: ::c_int, - pub aio_buf: *mut ::c_void, - pub aio_nbytes: ::size_t, - pub aio_sigevent: ::sigevent, - __td: *mut ::c_void, - __lock: [::c_int; 2], - __err: ::c_int, - __ret: ::ssize_t, - pub aio_offset: off_t, - __next: *mut ::c_void, - __prev: *mut ::c_void, - __dummy4: [::c_char; 24], - } - pub struct dirent { pub d_ino: ::ino_t, pub d_off: ::off_t,