Skip to content

move #![allow(unexpected_cfgs)] to crate root#233

Open
micahrj wants to merge 1 commit intomasterfrom
unexpected-cfgs
Open

move #![allow(unexpected_cfgs)] to crate root#233
micahrj wants to merge 1 commit intomasterfrom
unexpected-cfgs

Conversation

@micahrj
Copy link
Copy Markdown
Member

@micahrj micahrj commented Apr 25, 2026

CI builds are failing due to warnings caused by macros from the objc crate (msg_send!, sel!, and class!). The existing module-level #![allow(unexpected_cfgs)] attributes apparently no longer work to silence these warnings, but moving the attribute to the crate root seems to work.

Fixes #229.

@micahrj micahrj changed the title silence warnings due to macros from the objc crate move #![allow(unexpected_cfgs)] to crate root Apr 25, 2026
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.

macOS builds failing with "unexpected cfg condition value: cargo-clippy"

2 participants