You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: nightly CI failures + workaround RUSTFLAGS cargo-make leak (#49)
## Changes
### 1. Fix nightly clippy + rustfmt failures
Edits to pass new nightly `clippy::unnecessary_trailing_comma`
[lint](https://rust-lang.github.io/rust-clippy/master/index.html?search=clippy%3A%3Aunnecessary_trailing_comma#unnecessary_trailing_comma)
and nightly rustfmt import reordering.
- Remove 4 unnecessary trailing commas in `format!`/`println!` macros
(`general/echo/kmdf/exe/src/main.rs`)
- Reorder underscore-prefixed imports to match nightly rustfmt sorting
(`device.rs`, `queue.rs`, `driver.rs`)
**Failed CI run:**
https://github.com/microsoft/Windows-rust-driver-samples/actions/runs/22519532366
### 2. Workaround RUSTFLAGS leaking into cargo-make/cargo-wdk builds
Unset `RUSTFLAGS` for `cargo make`, `cargo wdk install`, and `cargo wdk
build` steps in `build.yaml`. This prevents `-D warnings` from leaking
into `rust-script` compilation of `wdk-build` (which is treated as a
path dependency via symlink, bypassing cargo's `--cap-lints allow`).
Temporary workaround until microsoft/windows-drivers-rs#629 is merged
and a new `wdk-build` is published.
0 commit comments