From 5a2e07e865de12c394d374c15d01a3c2d87146b3 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 26 Jun 2026 23:19:12 +0000 Subject: [PATCH] style(windows): rustfmt install.rs to unbreak `cargo fmt --all --check` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pnputil /add-driver call in windows/install.rs was committed unwrapped; `cargo fmt --all --check` (which checks cfg(windows) files too) flagged it and failed the `rust` CI job at the Format step, skipping clippy/build/test. Apply rustfmt — no behavior change. Clears the way to cut the v0.2.0 release from green main. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/punktfunk-host/src/windows/install.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/punktfunk-host/src/windows/install.rs b/crates/punktfunk-host/src/windows/install.rs index 02a92ca..4bde029 100644 --- a/crates/punktfunk-host/src/windows/install.rs +++ b/crates/punktfunk-host/src/windows/install.rs @@ -126,7 +126,10 @@ fn install_pf_vdisplay(dir: &Path) -> Result<()> { ); } // Stage + bind the driver (idempotent; re-staging the same .inf is harmless). - if run_quiet("pnputil", &["/add-driver", &inf.to_string_lossy(), "/install"]) { + if run_quiet( + "pnputil", + &["/add-driver", &inf.to_string_lossy(), "/install"], + ) { println!("pnputil /add-driver pf_vdisplay.inf /install ok"); } else { eprintln!("warning: pnputil /add-driver /install failed (driver may not have installed)");