fix(build): complete strict lint and test cleanup (replacement for #476)

This commit is contained in:
Chummy 2026-02-17 23:19:55 +08:00
parent fc6e8eb521
commit 0aa35eb669
9 changed files with 24 additions and 34 deletions

View file

@ -41,7 +41,6 @@ pub fn ensure_arduino_cli() -> Result<()> {
if !arduino_cli_available() {
anyhow::bail!("arduino-cli still not found after install. Ensure it's in PATH.");
}
return Ok(());
}
#[cfg(target_os = "linux")]
@ -58,6 +57,9 @@ pub fn ensure_arduino_cli() -> Result<()> {
println!("arduino-cli not found. Install it: https://arduino.github.io/arduino-cli/");
anyhow::bail!("arduino-cli not installed.");
}
#[allow(unreachable_code)]
Ok(())
}
/// Ensure arduino:avr core is installed.