Skip to content

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

Merged
micahrj merged 2 commits intomasterfrom
unexpected-cfgs
Apr 28, 2026
Merged

move #![allow(unexpected_cfgs)] to crate root#233
micahrj merged 2 commits 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.

Also run cargo fmt so that formatting check passes.

@micahrj micahrj changed the title silence warnings due to macros from the objc crate move #![allow(unexpected_cfgs)] to crate root Apr 25, 2026
@wrl wrl self-requested a review April 28, 2026 00:32
@micahrj micahrj enabled auto-merge (squash) April 28, 2026 03:04
@micahrj micahrj disabled auto-merge April 28, 2026 03:04
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"

3 participants