1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #6870 from cakebaker/bump_msrv

Bump MSRV to `1.77`
This commit is contained in:
Sylvestre Ledru 2024-11-18 15:34:19 +01:00 committed by GitHub
commit bf05a3d138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
msrv = "1.70.0" msrv = "1.77.0"
cognitive-complexity-threshold = 24 cognitive-complexity-threshold = 24
missing-docs-in-crate-items = true missing-docs-in-crate-items = true
check-private-items = true check-private-items = true

View file

@ -11,7 +11,7 @@ env:
PROJECT_NAME: coreutils PROJECT_NAME: coreutils
PROJECT_DESC: "Core universal (cross-platform) utilities" PROJECT_DESC: "Core universal (cross-platform) utilities"
PROJECT_AUTH: "uutils" PROJECT_AUTH: "uutils"
RUST_MIN_SRV: "1.70.0" RUST_MIN_SRV: "1.77.0"
# * style job configuration # * style job configuration
STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis

View file

@ -16,7 +16,7 @@ repository = "https://github.com/uutils/coreutils"
readme = "README.md" readme = "README.md"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"] keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
rust-version = "1.70.0" rust-version = "1.77.0"
edition = "2021" edition = "2021"
build = "build.rs" build = "build.rs"

View file

@ -14,7 +14,7 @@
[![dependency status](https://deps.rs/repo/github/uutils/coreutils/status.svg)](https://deps.rs/repo/github/uutils/coreutils) [![dependency status](https://deps.rs/repo/github/uutils/coreutils/status.svg)](https://deps.rs/repo/github/uutils/coreutils)
[![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils) [![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils)
![MSRV](https://img.shields.io/badge/MSRV-1.70.0-brightgreen) ![MSRV](https://img.shields.io/badge/MSRV-1.77.0-brightgreen)
</div> </div>
@ -70,7 +70,7 @@ the [coreutils docs](https://github.com/uutils/uutils.github.io) repository.
### Rust Version ### Rust Version
uutils follows Rust's release channels and is tested against stable, beta and uutils follows Rust's release channels and is tested against stable, beta and
nightly. The current Minimum Supported Rust Version (MSRV) is `1.70.0`. nightly. The current Minimum Supported Rust Version (MSRV) is `1.77.0`.
## Building ## Building

View file

@ -172,7 +172,7 @@ mod linux_only {
let mut fds: [c_int; 2] = [0, 0]; let mut fds: [c_int; 2] = [0, 0];
assert!( assert!(
(unsafe { libc::pipe(&mut fds as *mut c_int) } == 0), (unsafe { libc::pipe(std::ptr::from_mut::<c_int>(&mut fds[0])) } == 0),
"Failed to create pipe" "Failed to create pipe"
); );