Skip to content

Commit

Permalink
Increase MSRV to 1.69.0, upgrade nix dev-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Mar 28, 2024
1 parent d3f8e74 commit 875d920
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <rtzoeller@rtzoeller.com>"]
description = "A priority-inheriting lock based on Linux futexes"
repository = "https://github.com/rtzoeller/rust-priority-inheriting-lock/"
Expand All @@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, &param) {
0 => (),
err => panic!("{}", nix::errno::Errno::from_i32(err)),
err => panic!("{}", nix::errno::Errno::from_raw(err)),
}
}
}
Expand Down

0 comments on commit 875d920

Please sign in to comment.