-
Notifications
You must be signed in to change notification settings - Fork 212
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
Deny warnings in CI and add check-cfg directives #603
Conversation
02f0ea7
to
3a04f18
Compare
9999f16
to
7d8114f
Compare
println!("cargo::rustc-check-cfg=cfg(feature, values(\"unstable\"))"); | ||
println!("cargo:rustc-cfg=feature=\"unstable\""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be replaced by a real custom config and not a faux Cargo feature, ie unstable
and not feature = "unstable"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comes from libm so I could probably do it here rust-lang/libm#296
Thanks for the quick review
There are currently a lot of warnings printed in CI, mostly dead code. Update CI to deny warnings.
There are currently a lot of warnings printed in CI, a lot of which come from the new check config. Update CI to deny warnings.