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

chore: check that warnings are denied #1918

Closed
wants to merge 1 commit into from

Conversation

giladchase
Copy link
Contributor

DONTMERGE

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

@giladchase giladchase left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion


crates/mempool/src/mempool.rs line 364 at r1 (raw file):

}

pub struct dont_merge_me;

DONTMERGE

Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.73%. Comparing base (2e7756a) to head (746edeb).

Additional details and impacted files
@@                    Coverage Diff                     @@
##           gilad/remove-clippy-sh   #1918       +/-   ##
==========================================================
- Coverage                   76.50%   2.73%   -73.77%     
==========================================================
  Files                         373     107      -266     
  Lines                       39965   13622    -26343     
  Branches                    39965   13622    -26343     
==========================================================
- Hits                        30575     373    -30202     
- Misses                       7114   13232     +6118     
+ Partials                     2276      17     -2259     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -25,7 +25,7 @@ class BaseCommand(Enum):

def cmd(self, crates: Set[str]) -> List[str]:
package_args = []
operands = ["--", "-Dwarnings"] # "--" must be the first element.
operands = ["--", "-D", "warnings"] # "--" must be the first element.
Copy link

Choose a reason for hiding this comment

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

The rustc flag needs to be a single argument: -Dwarnings. Splitting it into -D and warnings will cause the compiler to interpret these as separate flags. The line should be:

operands = ["--", "-Dwarnings"]

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@giladchase giladchase deleted the branch gilad/remove-clippy-sh November 13, 2024 06:36
@giladchase giladchase closed this Nov 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants