Commit 70c1151
rony
fix(win): gate Linux-only helper plumbing off Windows (clippy dead_code)
The Windows clippy gate (-D warnings) failed: since Task 2 routes Windows SMART
installs through winget (not pkexec_install_deps), HELPER_PATH, resolve_helper_path
and pkexec_install_deps became dead code on Windows. Gate the first two to
cfg(not(windows)) (Linux+macOS still use them) and pkexec_install_deps to
cfg(linux) (macOS=brew, Windows=winget). Cross-platform execute_plan/user_zones
keep Path/PathBuf imports alive on Windows. (Local clippy runs on Linux where
these ARE used — only the Windows CI catches this, which is why it exists.)1 parent 68864d5 commit 70c1151
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
325 | | - | |
| 328 | + | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
0 commit comments