Skip to content

Commit bf05a3d

Browse files
authored
Merge pull request #6870 from cakebaker/bump_msrv
Bump MSRV to `1.77`
2 parents 691472e + 3281d3e commit bf05a3d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
msrv = "1.70.0"
1+
msrv = "1.77.0"
22
cognitive-complexity-threshold = 24
33
missing-docs-in-crate-items = true
44
check-private-items = true

.github/workflows/CICD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
PROJECT_NAME: coreutils
1212
PROJECT_DESC: "Core universal (cross-platform) utilities"
1313
PROJECT_AUTH: "uutils"
14-
RUST_MIN_SRV: "1.70.0"
14+
RUST_MIN_SRV: "1.77.0"
1515
# * style job configuration
1616
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
1717

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repository = "https://github.com/uutils/coreutils"
1616
readme = "README.md"
1717
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
1818
categories = ["command-line-utilities"]
19-
rust-version = "1.70.0"
19+
rust-version = "1.77.0"
2020
edition = "2021"
2121

2222
build = "build.rs"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![dependency status](https://deps.rs/repo/github/uutils/coreutils/status.svg)](https://deps.rs/repo/github/uutils/coreutils)
1515

1616
[![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils)
17-
![MSRV](https://img.shields.io/badge/MSRV-1.70.0-brightgreen)
17+
![MSRV](https://img.shields.io/badge/MSRV-1.77.0-brightgreen)
1818

1919
</div>
2020

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

7272
uutils follows Rust's release channels and is tested against stable, beta and
73-
nightly. The current Minimum Supported Rust Version (MSRV) is `1.70.0`.
73+
nightly. The current Minimum Supported Rust Version (MSRV) is `1.77.0`.
7474

7575
## Building
7676

tests/by-util/test_tee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ mod linux_only {
172172

173173
let mut fds: [c_int; 2] = [0, 0];
174174
assert!(
175-
(unsafe { libc::pipe(&mut fds as *mut c_int) } == 0),
175+
(unsafe { libc::pipe(std::ptr::from_mut::<c_int>(&mut fds[0])) } == 0),
176176
"Failed to create pipe"
177177
);
178178

0 commit comments

Comments
 (0)