Commit cdcea04
fix(linux): allow dead credentials_ready_tx field without gtk feature
Linux CI clippy (-D warnings) failed on dead_code: TrayShared.credentials_ready_tx is read only from the GTK sign-in callback, but is constructed unconditionally, so a non-gtk build (what CI compiles) leaves it write-only. This is the intended behavior — without the gtk feature there is no GUI sign-in and the daemon relies on its secret-store poll — so gate the field with #[cfg_attr(not(feature = "gtk"), allow(dead_code))]. macOS clippy never caught it because linux.rs is cfg(target_os="linux").
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1676d8b commit cdcea04
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
0 commit comments