From 875d920006ee226814a8004a6cc38284469d8713 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Wed, 27 Mar 2024 21:58:00 -0500 Subject: [PATCH] Increase MSRV to 1.69.0, upgrade nix dev-dependency --- CHANGELOG.md | 4 ++++ Cargo.toml | 4 ++-- tests/tests.rs | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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)), } } }