From 0e7bf68dba16da867e9fa464c1bb5ceba3e1a646 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 27 Sep 2024 11:43:42 -0700 Subject: [PATCH] bugfix: Fix unused type in WASI Signed-off-by: John Nunley --- src/backend/libc/termios/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/libc/termios/types.rs b/src/backend/libc/termios/types.rs index cf400af07..ed9a8a3f6 100644 --- a/src/backend/libc/termios/types.rs +++ b/src/backend/libc/termios/types.rs @@ -11,5 +11,5 @@ use crate::ffi; pub type tcflag_t = ffi::c_ulong; #[cfg(target_os = "redox")] pub type tcflag_t = u32; -#[cfg(not(any(apple, target_os = "redox")))] +#[cfg(not(any(target_os = "wasi", apple, target_os = "redox")))] pub type tcflag_t = ffi::c_uint;