Skip to content

[0.2] Backports #4595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: libc-0.2
Choose a base branch
from
Open

Conversation

tgross35 and others added 7 commits July 29, 2025 05:45
Enable this lint with the expectation that we will eventually be
upgrading editions. There are some exceptions needed, and
`unsafe_op_in_unsafe_fn` will take a while to go through.

(backport <rust-lang#4585>)
(cherry picked from commit 2fe8b17)
Resolve the `improper_ctypes` warning on l4re-uclibc that we are getting
in CI. The current version was added in e412497 ("Move
L4Re-specific code into separate module.") and doesn't seem to have been
intentional.

(backport <rust-lang#4584>)
(cherry picked from commit 95c1400)
Most of what this crate does is interact with C, so the lint should be
useful. It can be disabled on a case-by-case basis as needed.

There are a few fixes needed for enums, which will be going away anyway
(rust-lang#4419).

Additionally, switch the `bad_style` lint to the newer name
`nonstandard_style`.

(backport <rust-lang#4584>)
(cherry picked from commit 38bb46e)
(backport <rust-lang#4578>)
(cherry picked from commit 925eb0c)
@rustbot
Copy link
Collaborator

rustbot commented Jul 29, 2025

Some changes occurred in OpenBSD module

cc @semarie

Some changes occurred in OpenBSD module

cc @semarie

Some changes occurred in the Android module

cc @maurer

@rustbot
Copy link
Collaborator

rustbot commented Jul 29, 2025

⚠️ 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 tgross35 enabled auto-merge July 29, 2025 10:51
Resolve an instance of `improper_ctypes`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants