Skip to content

Conversation

@dannywillems
Copy link
Member

No description provided.

@dannywillems dannywillems force-pushed the dw/fix-curves-clippy-191 branch from 6dc9abf to e657010 Compare December 2, 2025 15:04
@dannywillems dannywillems self-assigned this Dec 2, 2025
@dannywillems dannywillems requested review from iostat and removed request for iostat December 2, 2025 15:04
@dannywillems dannywillems moved this to Todo in Rust node Dec 2, 2025
@dannywillems dannywillems marked this pull request as draft December 2, 2025 15:11
edition = "2021"
license = "Apache-2.0"

[lints.rust]
Copy link

@iostat iostat Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious on the motivation for adding this as a lint exemption as opposed to explicitly listing the features in the crate manifest. My understanding is that derive macros are producing these feature-gates which aren't explicitly listed and the linter isn't pleased with that. But from a tooling perspective, the lint is absolutely correct in that code is being produced which may never be enabled because the corresponding features aren't defined.

I believe the following would be the idiomatic way to resolve the warning which preserves the lint's intent.

[features]
asm = []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants