Skip to content

chore: declare custom cfg names and silence bindgen transmute lint#53

Merged
chcmedeiros merged 1 commit into
mainfrom
chore/check-cfg-warnings
May 7, 2026
Merged

chore: declare custom cfg names and silence bindgen transmute lint#53
chcmedeiros merged 1 commit into
mainfrom
chore/check-cfg-warnings

Conversation

@chcmedeiros
Copy link
Copy Markdown
Collaborator

Rust 1.80+ warns on cfg names that aren't declared via check-cfg, and
rust 1.88's unnecessary_transmutes lint fires on bindgen output. Both
caused noisy builds (300+ warnings). Declare all custom cfgs from
each crate's build.rs and allow the transmute lint inside the
auto-generated raw module.

Rust 1.80+ warns on cfg names that aren't declared via check-cfg, and
rust 1.88's `unnecessary_transmutes` lint fires on bindgen output. Both
caused noisy builds (300+ warnings). Declare all custom cfgs from
each crate's build.rs and allow the transmute lint inside the
auto-generated `raw` module.
@chcmedeiros chcmedeiros merged commit 6464283 into main May 7, 2026
2 checks passed
@chcmedeiros chcmedeiros deleted the chore/check-cfg-warnings branch May 7, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants