mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-05 07:27:46 +00:00
fix build failure caused by imprecise libc version specification
- more precisely describe permissable libc versions .# [why] - libc >= v0.2.15 is needed for utmp support. - libc <= v0.2.66 is required to avoid build errors for MinSRV == 1.31.0. Intermittant build failures were being caused by `cargo` using early libc versions.
This commit is contained in:
parent
c08674da28
commit
ceee0ec09e
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,6 @@ getopts = "<= 0.2.21"
|
||||||
failure = { version = "<= 0.1.1", optional = true }
|
failure = { version = "<= 0.1.1", optional = true }
|
||||||
failure_derive = { version = "<= 0.1.1", optional = true }
|
failure_derive = { version = "<= 0.1.1", optional = true }
|
||||||
time = { version = "<= 0.1.42", optional = true }
|
time = { version = "<= 0.1.42", optional = true }
|
||||||
libc = { version = "<= 0.2.66", optional = true }
|
|
||||||
wild = "2.0.1"
|
wild = "2.0.1"
|
||||||
nix = { version = "<= 0.13", optional = true }
|
nix = { version = "<= 0.13", optional = true }
|
||||||
lazy_static = { version = "1.3", optional = true }
|
lazy_static = { version = "1.3", optional = true }
|
||||||
|
@ -31,6 +30,9 @@ platform-info = { version = "<= 0.0.1", optional = true }
|
||||||
backtrace = ">= 0.3.3, <= 0.3.30"
|
backtrace = ">= 0.3.3, <= 0.3.30"
|
||||||
# * data-encoding: require 2.1, but 2.2.0 breaks the build for MinSRV 1.31.0
|
# * data-encoding: require 2.1, but 2.2.0 breaks the build for MinSRV 1.31.0
|
||||||
data-encoding = { version = "~2.1", optional = true }
|
data-encoding = { version = "~2.1", optional = true }
|
||||||
|
# * libc: initial utmp support added in 0.2.15, but 0.2.68 break the build for MinSRV 1.31.0
|
||||||
|
libc = { version = "0.2.15, <= 0.2.66", optional = true }
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(target_os = "redox")'.dependencies]
|
[target.'cfg(target_os = "redox")'.dependencies]
|
||||||
termion = "1.5"
|
termion = "1.5"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue