diff --git a/src/wasi.rs b/src/wasi.rs index bd2cbfa1d853550d80b2a7d274dad2105295e763..45c809519a390037fe5d77943dcc38ad0c7df9f8 100644 --- a/src/wasi.rs +++ b/src/wasi.rs @@ -312,17 +312,6 @@ pub struct dirent { pub d_name: [c_char; 0], } -// intentionally not public, only used for fd_set -cfg_if! { - if #[cfg(target_pointer_width = "32")] { - const ULONG_SIZE: usize = 32; - } else if #[cfg(target_pointer_width = "64")] { - const ULONG_SIZE: usize = 64; - } else { - // Unknown target_pointer_width - } -} - pub const EXIT_SUCCESS: c_int = 0; pub const EXIT_FAILURE: c_int = 1; pub const STDIN_FILENO: c_int = 0;