Skip to content

Commit

Permalink
Merge pull request #6870 from cakebaker/bump_msrv
Browse files Browse the repository at this point in the history
Bump MSRV to `1.77`
  • Loading branch information
sylvestre authored Nov 18, 2024
2 parents 691472e + 3281d3e commit bf05a3d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
msrv = "1.70.0"
msrv = "1.77.0"
cognitive-complexity-threshold = 24
missing-docs-in-crate-items = true
check-private-items = true
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
PROJECT_NAME: coreutils
PROJECT_DESC: "Core universal (cross-platform) utilities"
PROJECT_AUTH: "uutils"
RUST_MIN_SRV: "1.70.0"
RUST_MIN_SRV: "1.77.0"
# * 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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repository = "https://github.com/uutils/coreutils"
readme = "README.md"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
rust-version = "1.70.0"
rust-version = "1.77.0"
edition = "2021"

build = "build.rs"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[![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)
![MSRV](https://img.shields.io/badge/MSRV-1.70.0-brightgreen)
![MSRV](https://img.shields.io/badge/MSRV-1.77.0-brightgreen)

</div>

Expand Down Expand Up @@ -70,7 +70,7 @@ the [coreutils docs](https://github.com/uutils/uutils.github.io) repository.
### Rust Version

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

Expand Down
2 changes: 1 addition & 1 deletion tests/by-util/test_tee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ mod linux_only {

let mut fds: [c_int; 2] = [0, 0];
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"
);

Expand Down

0 comments on commit bf05a3d

Please sign in to comment.