fix(wol): clippy + cfg-gate the Windows client module — main compiles again

The Wake-on-LAN batch landed with lints that fail `clippy -D warnings`
(doc continuation, char-array split, io::Error::other, redundant closure)
and an ungated `mod wol;` in the Windows client, which pulls windows-only
crates into the non-Windows stub build.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 12:02:45 +00:00
parent 780e1cf4cf
commit 7c230b97f8
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ pub extern "system" fn Java_io_unom_punktfunk_kit_NativeBridge_nativeWakeOnLan<'
};
let last_ip: String = env
.get_string(&last_ip)
.map(|s| Into::<String>::into(s))
.map(Into::<String>::into)
.unwrap_or_default();
let macs: Vec<[u8; 6]> = macs_csv
.split(',')