Skip to content

Commit 7ba5e34

Browse files
committed
Remove the definition of ULONG_SIZE which is no longer needed.
1 parent 4d0e84b commit 7ba5e34

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/wasi.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,6 @@ pub struct dirent {
312312
pub d_name: [c_char; 0],
313313
}
314314

315-
// intentionally not public, only used for fd_set
316-
cfg_if! {
317-
if #[cfg(target_pointer_width = "32")] {
318-
const ULONG_SIZE: usize = 32;
319-
} else if #[cfg(target_pointer_width = "64")] {
320-
const ULONG_SIZE: usize = 64;
321-
} else {
322-
// Unknown target_pointer_width
323-
}
324-
}
325-
326315
pub const EXIT_SUCCESS: c_int = 0;
327316
pub const EXIT_FAILURE: c_int = 1;
328317
pub const STDIN_FILENO: c_int = 0;

0 commit comments

Comments
 (0)