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 dc4b544
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- stable
- beta
- nightly
- 1.65.0 # MSRV
- 1.69.0 # MSRV

steps:
- name: Checkout repo
Expand Down
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 <[email protected]>"]
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In general, you should consider using the lock implementations provided by `std`

## Minimum Rust version

The current minimum supported Rust version (MSRV) is 1.65. The MSRV will not be changed in the future without bumping the major or minor version.
The current minimum supported Rust version (MSRV) is 1.69. The MSRV will not be changed in the future without bumping the major or minor version.

## License

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 dc4b544

Please sign in to comment.