mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
wc: Fix linters
This commit is contained in:
parent
9972cd1327
commit
0f1e79fe29
3 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ aho-corasick
|
|||
backtrace
|
||||
blake2b_simd
|
||||
bstr
|
||||
bytecount
|
||||
byteorder
|
||||
chacha
|
||||
chrono
|
||||
|
|
|
@ -21,6 +21,7 @@ use nix::fcntl::{splice, SpliceFFlags};
|
|||
use nix::unistd::pipe;
|
||||
|
||||
const BUF_SIZE: usize = 16 * 1024;
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
const SPLICE_SIZE: usize = 128 * 1024;
|
||||
|
||||
/// Splice wrapper which handles short writes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::common::util::*;
|
||||
|
||||
// spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword
|
||||
// spell-checker:ignore (flags) lwmcL clmwL ; (path) bogusfile emptyfile manyemptylines moby notrailingnewline onelongemptyline onelongword weirdchars
|
||||
|
||||
#[test]
|
||||
fn test_count_bytes_large_stdin() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue