Skip to content
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

error: unexpected cfg condition value: cargo-clippy #125

Open
glandium opened this issue Dec 18, 2024 · 2 comments
Open

error: unexpected cfg condition value: cargo-clippy #125

glandium opened this issue Dec 18, 2024 · 2 comments

Comments

@glandium
Copy link

Using the msg_send! macro yields warnings like this with upcoming rustc 1.84.0:

error: unexpected `cfg` condition value: `cargo-clippy`
     --> /opt/worker/tasks/task_171225436694629/build/obj-build/x86_64-apple-darwin/debug/build/cocoabind-fb71164ed4d87a08/out/cocoa_bindings.rs:23030:9
      |
23030 |         msg_send!(class!(NSColor), whiteColor)
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: no expected values for `feature`
      = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
      = note: this error originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
@glandium
Copy link
Author

(this is an error in the log because we build with -D warnings)

@glandium
Copy link
Author

err, so this was actually fixed in #75, but never made it to crates.io.

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

No branches or pull requests

1 participant