Skip to content

Re-export core::ffi integer types rather than redefining#5015

Merged
tgross35 merged 1 commit intorust-lang:mainfrom
tgross35:core-ffi-types
Mar 14, 2026
Merged

Re-export core::ffi integer types rather than redefining#5015
tgross35 merged 1 commit intorust-lang:mainfrom
tgross35:core-ffi-types

Conversation

@tgross35
Copy link
Contributor

Since the MSRV was raised to 1.65, we can use these aliases directly rather than copying them. In a future version, we can consider deprecation.

@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Mar 14, 2026
@tgross35 tgross35 enabled auto-merge March 14, 2026 08:55
@tgross35 tgross35 force-pushed the core-ffi-types branch 2 times, most recently from 5358562 to c2839d1 Compare March 14, 2026 09:15
@rustbot
Copy link
Collaborator

rustbot commented Mar 14, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@tgross35 tgross35 added this pull request to the merge queue Mar 14, 2026
@ChrisDenton
Copy link
Member

I think you can remove this test too, since I think it's just testing that libc types match std types: https://github.com/rust-lang/libc/blob/main/libc-test/tests/primitive_types.rs

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2026
Since the MSRV was raised to 1.65, we can use these aliases directly
rather than copying them. In a future version, we can consider
deprecation.
@tgross35
Copy link
Contributor Author

Good call! Removed

@tgross35 tgross35 added this pull request to the merge queue Mar 14, 2026
Merged via the queue into rust-lang:main with commit 288706a Mar 14, 2026
76 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants