Closed ngmisl closed 1 month ago
I don't get this locally. Which platform are you on + what version of Rust are you using?
The currently active rustc
version is rustc 1.81.0 (eeb90cda1 2024-09-04)
Linux
I am able reproduce with 1.81.0
- not sure how to fix this though. I tried cargo update
but still getting the same warning.
The issue comes from either nix
(bitflags) or termbg
(async-std) I think.
Looks like it comes via lurk-cli
βββ lurk-cli v0.3.8
β βββ anyhow v1.0.86
β βββ atty v0.2.14
β β βββ libc v0.2.158
β βββ byteorder v1.5.0
β βββ clap v4.5.18 (*)
β βββ comfy-table v7.1.1
β β βββ crossterm v0.27.0
β β β βββ bitflags v2.6.0
β β β βββ libc v0.2.158
β β β βββ parking_lot v0.12.3 (*)
β β βββ strum v0.26.3 (*)
β β βββ strum_macros v0.26.4 (proc-macro) (*)
β β βββ unicode-width v0.1.14
β βββ console v0.15.8 (*)
β βββ libc v0.2.158
β βββ linux-personality v1.0.0
β β βββ bitflags v0.7.0 <--------------- HERE
β β βββ libc v0.2.158
β βββ nix v0.29.0
β β βββ bitflags v2.6.0
β β βββ cfg-if v1.0.0
β β βββ libc v0.2.158
And looks like as if linux-personality hasn't got any changes for 8 years
That package is quite small and apparently stable, so vendoring could be an option here.
https://github.com/jeandudey/linux-personality/blob/master/src/lib.rs
There's also this on the nix
crate:
https://docs.rs/nix/latest/nix/sys/personality/index.html
But I can still update the linux-personality
crate if you prefer so.
I've released 2.0.0
of the crate in any case.
Awesome!
Wow, thank you @jeandudey!
future incompatibility warning