diff options
Diffstat (limited to 'cli/unix_util.rs')
-rw-r--r-- | cli/unix_util.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/unix_util.rs b/cli/unix_util.rs index 927b99d64..f282f6cfe 100644 --- a/cli/unix_util.rs +++ b/cli/unix_util.rs @@ -4,6 +4,8 @@ /// This is the difference between `ulimit -n` and `ulimit -n -H`. pub fn raise_fd_limit() { #[cfg(unix)] + // TODO(bartlomieju): + #[allow(clippy::undocumented_unsafe_blocks)] unsafe { let mut limits = libc::rlimit { rlim_cur: 0, |