Commit e178b73
committed
[PM-29567] Pass clippy -D warnings on the command line
The clippy lint step set RUSTFLAGS=-D warnings for the whole step, which
leaked into the from-source builds of clippy-sarif/sarif-fmt triggered by
`cargo bin` in the same step. A warning in their transitive dependency
serde-sarif then became a hard error and failed the build.
Pass -D warnings to clippy directly instead, so the deny level applies only
to the linted crates and not to the tool builds.1 parent af6ce05 commit e178b73
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
0 commit comments