Commit d1468c3
ci: add Windows clippy job and fix cfg(windows) needless_return (#182)
Clippy previously ran only on Linux (lint-and-test's just lint-all), so
Windows-only Rust code paths (#[cfg(target_os = "windows")] / WHP) in the
host crate were never scanned. This adds a native Windows clippy job on the
win2025 1ES pool running just lint-analysis-guest.
It also fixes the pre-existing clippy::needless_return in
host/src/sandbox.rs that the new job surfaces, turning the cfg(windows)
WHP arm into a tail expression.
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1a7ea63 commit d1468c3
2 files changed
Lines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
164 | 192 | | |
165 | 193 | | |
166 | 194 | | |
| |||
247 | 275 | | |
248 | 276 | | |
249 | 277 | | |
250 | | - | |
| 278 | + | |
251 | 279 | | |
252 | 280 | | |
253 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments