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

Remove deny(warnings) #246

Merged
merged 3 commits into from
Nov 17, 2022

Conversation

akoshelev
Copy link
Collaborator

This setting prevents compiler from building the code with warnings. I think it is useful to be able to do that because often I prototype an implementation and want to see whether it compiles and it is ok if there are unadressed warnings such asunused imports. Also I want to be able to run tests and get feedback from them without addressing all the warnings.

I think we have good protection at PR level as GH action would prevent pushing code that violates this no warnings rule.

I also enabled validation for cargo doc if we ever need to use it based on conversations in rust-lang/cargo#8424

Verified it is working and failing build: https://github.com/akoshelev/raw-ipa/actions/runs/3486104797

This setting prevents compiler from building the code with warnings.
I think it is useful to be able to do that because often I prototype
an implementation and want to see whether it compiles and it is ok
if there are unadressed warnings such asunused imports.
Also I want to be able to run tests and get feedback from them without
addressing all the warnings.

I think we have good protection at PR level as GH action
would prevent pushing code that violates this no warnings rule.
@benjaminsavage
Copy link
Collaborator

I'll leave this to @martinthomson

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

Can you add it back to the pre-commit? You can always use -n if you want a checkpoint.

@akoshelev akoshelev merged commit 5686d93 into private-attribution:main Nov 17, 2022
@akoshelev akoshelev deleted the deny-deny-warnings branch November 17, 2022 18:25
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.

3 participants