Skip to content

Commit 50cc5db

Browse files
committed
Increase the MSRV from 1.63 to 1.65
Perform a small MSRV bump by two versions. The main thing this gets is access to the C types in `core::ffi`, which means the ecosystem can start harmonizing around those aliases instead of using e.g. `core::ffi::c_int` in some cases and `libc::c_int` in others. 1.65 is selected as a small bump over 1.64 because it comes with some small "nice" things like workspace-level lints and `cast_mut`. It has been over a year since the last MSRV bump to 1.63 (in 93052d1, "Document the MSRV of the stable channel as 1.63") so we could probably bump higher yet, but there isn't anything else on the list at [1] as useful as `core::ffi`. [1]: #4626
1 parent 5660e6f commit 50cc5db

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
name: Verify build
5454
strategy:
5555
matrix:
56-
toolchain: [stable, 1.63.0]
56+
toolchain: [stable, 1.65.0]
5757
include:
5858
# Nightly has a lot of targets, so split it in half
5959
- toolchain: nightly
@@ -63,7 +63,7 @@ jobs:
6363
- toolchain: beta
6464
only: '(aarch64|x86_64)' # just a spot check for beta
6565
- toolchain: stable
66-
- toolchain: 1.63.0 # msrv
66+
- toolchain: 1.65.0 # msrv
6767
runs-on: ubuntu-24.04
6868
timeout-minutes: 25
6969
env:
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
set -eux
9696
# Remove `-Dwarnings` at the MSRV since lints may be different
97-
[ "${{ matrix.toolchain }}" = "1.63.0" ] && export RUSTFLAGS=""
97+
[ "${{ matrix.toolchain }}" = "1.65.0" ] && export RUSTFLAGS=""
9898
python3 ci/verify-build.py \
9999
--toolchain "$TOOLCHAIN" \
100100
${BASELINE_CRATE_DIR:+"--baseline-crate-dir" "$BASELINE_CRATE_DIR"} \

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = ["The Rust Project Developers"]
99
edition = "2021"
1010
license = "MIT OR Apache-2.0"
1111
repository = "https://github.com/rust-lang/libc"
12-
rust-version = "1.63"
12+
rust-version = "1.65"
1313

1414
[package.metadata.docs.rs]
1515
features = ["extra_traits"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following features are deprecated:
5757

5858
## Rust version support
5959

60-
The minimum supported Rust toolchain version is currently **Rust 1.63**.
60+
The minimum supported Rust toolchain version is currently **Rust 1.65**.
6161

6262
Increases to the MSRV are allowed to change without a major (i.e. semver-
6363
breaking) release in order to avoid a ripple effect in the ecosystem. A policy

0 commit comments

Comments
 (0)