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

Adjust check-cfg for Rust 1.76 compatibility #60

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

nhpupu
Copy link
Contributor

@nhpupu nhpupu commented Jul 19, 2024

This commit moves the lint config for check-cfg from build.rs to Cargo.toml. This change ensures compatibility with Rust versions <=1.76 while silencing cfg warnings in newer versions.

Further refrence: https://blog.rust-lang.org/2024/05/06/check-cfg.html#expecting-custom-cfgs

It also fixes the actual problem mentioned in #55

This commit moves the lint config for check-cfg from build.rs to Cargo.toml.
This change ensures compatibility with Rust versions <=1.76 while silencing
cfg warnings in newer versions.

Further refrence: https://blog.rust-lang.org/2024/05/06/check-cfg.html#expecting-custom-cfgs
@diondokter
Copy link
Collaborator

Ah, yeah that's better! Many thanks!

@diondokter diondokter merged commit 5eff2c2 into tweedegolf:master Jul 19, 2024
5 checks passed
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