Skip to content

[0.2] Increase the MSRV from 1.63 to 1.65#4972

Open
tgross35 wants to merge 1 commit intorust-lang:libc-0.2from
tgross35:stable-msrv
Open

[0.2] Increase the MSRV from 1.63 to 1.65#4972
tgross35 wants to merge 1 commit intorust-lang:libc-0.2from
tgross35:stable-msrv

Conversation

@tgross35
Copy link
Contributor

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.

@rustbot rustbot added A-CI Area: CI-related items S-waiting-on-review labels Feb 13, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 13, 2026

⚠️ Warning ⚠️

  • Pull requests are usually filed against the main branch for this repo, but this one is against libc-0.2. Please double check that you specified the right target!

@tgross35
Copy link
Contributor Author

I'm not planning to merge this before the next release, just wanted to start collecting reviews.

@tgross35 tgross35 mentioned this pull request Feb 13, 2026
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]: rust-lang#4626
Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from me, improvements like #4406 should be unblocked with this 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: CI-related items S-waiting-on-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants