diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c0703df..c24f088 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ jobs: - stable - beta - nightly - - 1.65.0 # MSRV + - 1.69.0 # MSRV steps: - name: Checkout repo diff --git a/CHANGELOG.md b/CHANGELOG.md index afcb231..b3e0379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [Unreleased] - ReleaseDate + +- Updated MSRV to 1.69.0. + ## [0.3.0] - 2023-11-26 - Updated MSRV to 1.65.0. diff --git a/Cargo.toml b/Cargo.toml index 5d666e6..64459b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "priority-inheriting-lock" version = "0.3.0" edition = "2021" -rust-version = "1.65.0" +rust-version = "1.69.0" authors = ["Ryan Zoeller "] description = "A priority-inheriting lock based on Linux futexes" repository = "https://github.com/rtzoeller/rust-priority-inheriting-lock/" @@ -17,7 +17,7 @@ linux-futex = "0.2.0" lock_api = "0.4.11" [dev-dependencies] -nix = { version = "0.27.1", default-features = false, features = ["user"] } +nix = { version = "0.28.0", default-features = false, features = ["user"] } procfs = { version = "0.16.0", default-features = false } [[test]] diff --git a/tests/tests.rs b/tests/tests.rs index 8fbdbbf..d7b9653 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -129,7 +129,7 @@ fn set_scheduler(policy: i32, priority: i32) { // of whatever this returns on failure (probably EPERM). match libc::pthread_setschedparam(pthread_id, policy, ¶m) { 0 => (), - err => panic!("{}", nix::errno::Errno::from_i32(err)), + err => panic!("{}", nix::errno::Errno::from_raw(err)), } } }