Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

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

Open
tgross35 wants to merge 1 commit intorust-lang:libc-0.2 from
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.2 from
tgross35:stable-msrv

Conversation

@tgross35
Copy link
Contributor

@tgross35 tgross35 commented 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.

@rustbot rustbot added A-CI Area: CI-related items S-waiting-on-review labels Feb 13, 2026
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!

Copy link
Contributor Author

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

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

Reviewers

@Amanieu Amanieu Amanieu approved these changes

@JohnTitor JohnTitor JohnTitor approved these changes

@joshtriplett joshtriplett Awaiting requested review from joshtriplett

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /