CI: clippy and tests on pull requests and main

A Windows job on the pinned toolchain: clippy with -D warnings on the
default and the --all-features (diagnostics) build, then cargo test
--workspace, which includes the asset-policy test.

main did not build its tests: scalar_bit_tests_lower called lowers()
without the rsrc2 argument a parallel change added (0, no input
registers). Also drops a double parenthesis clippy flagged in an xasync
test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MarvisandClaude Opus 5.5 committed 2026-11-24 09:55:29 +01:00
1 parent c7a5f4953f
commit 8e79c80e4b
3 files changed
+35 -2

No files matched your search

+1 -1
View File
@@ -1179,7 +1179,7 @@ mod tests {
S_OK
);
assert_eq!((value, used), (0x1234, 8));
assert!(call((&raw mut block)).is_none(), "the call ends with its result");
assert!(call(&raw mut block).is_none(), "the call ends with its result");
XTaskQueueCloseHandle(q);
}
+1 -1
View File
@@ -6960,7 +6960,7 @@ mod tests {
];
for head in bit_tests {
let words: Vec<u32> = head.iter().chain(&tail).copied().collect();
lowers(&words).unwrap();
lowers(&words, 0).unwrap();
}
}