Skip to content

Commit c0f1452

Browse files
committed
fix deps and add fadvise
1 parent 8908850 commit c0f1452

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ self_cell = "1.0.4"
366366
# FIXME we use the exact version because the new 0.5.3 requires an MSRV of 1.88
367367
selinux = "=0.5.2"
368368
signal-hook = "0.3.17"
369+
string-interner = "0.19.0"
369370
tempfile = "3.15.0"
370371
terminal_size = "0.4.0"
371372
textwrap = { version = "0.16.1", features = ["terminal_size"] }
@@ -403,18 +404,18 @@ uucore_procs = { version = "0.5.0", package = "uucore_procs", path = "src/uucore
403404
uu_ls = { version = "0.5.0", path = "src/uu/ls" }
404405
uu_base32 = { version = "0.5.0", path = "src/uu/base32" }
405406
uutests = { version = "0.5.0", package = "uutests", path = "tests/uutests" }
406-
string-interner = "0.19.0"
407+
407408
[dependencies]
408409
clap.workspace = true
409410
clap_complete = { workspace = true, optional = true }
410411
clap_mangen = { workspace = true, optional = true }
411412
fluent-syntax = { workspace = true, optional = true }
412413
phf.workspace = true
413414
selinux = { workspace = true, optional = true }
415+
string-interner.workspace = true
414416
textwrap.workspace = true
415417
uucore.workspace = true
416418
zip = { workspace = true, optional = true }
417-
string-interner.workspace = true
418419

419420
# * uutils
420421
uu_test = { optional = true, version = "0.5.0", package = "uu_test", path = "src/uu/test" }
@@ -521,7 +522,6 @@ who = { optional = true, version = "0.5.0", package = "uu_who", path = "src/uu/w
521522
whoami = { optional = true, version = "0.5.0", package = "uu_whoami", path = "src/uu/whoami" }
522523
yes = { optional = true, version = "0.5.0", package = "uu_yes", path = "src/uu/yes" }
523524

524-
525525
# this breaks clippy linting with: "tests/by-util/test_factor_benches.rs: No such file or directory (os error 2)"
526526
# factor_benches = { optional = true, version = "0.0.0", package = "uu_factor_benches", path = "tests/benches/factor" }
527527

src/uu/tsort/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ thiserror = { workspace = true }
2424
uucore = { workspace = true }
2525
fluent = { workspace = true }
2626
string-interner = { workspace = true }
27-
nix = { workspace = true, features = ["fs"] }
27+
nix = { workspace = true, features = ["fs"] }
2828
[[bin]]
2929
name = "tsort"
3030
path = "src/main.rs"

src/uu/tsort/src/tsort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
6767

6868
let file = File::open(path)?;
6969

70-
// advise the OS we will access the data sequentially if available.
70+
// advise the OS we will access the data sequentially if available.
7171
#[cfg(any(
7272
target_os = "linux",
7373
target_os = "android",

0 commit comments

Comments
 (0)