CI: fix the red Linux job (unused variable in the POPS test) #39
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/39"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from uiliannn/VItoriaBr. Originally posted by lcg007xd-c on 2026-11-25T20:08:14Z.
What this fixes
The
portablejob is red onmain(run 45690169897, at9ceb7e7). Clippy fails, so the Linux tests never run:The POPS test from #36 binds
outonly for the dxil.dll validation, and that code is#[cfg(windows)].The change
Two lines:
#[cfg_attr(not(windows), allow(unused_variables))]on thatlet, the same allowance the test atmod.rs:1477already uses. Nothing changes on Windows.Tested (Linux, Rust 1.98.1)
cargo clippy -p victory-core -p victory-pe -p victory-pipeline -p victory-shader -p victory-formats -p victory-game -p xtask --all-targets --locked -- -D warningsis clean, also with--all-features.cargo clippyforx86_64-pc-windows-msvcis clean.🤖 Generated with Claude Code
Imported from uiliannn/VItoriaBr. Originally posted by uiliannn on 2026-11-25T20:33:23Z.
Obrigado pela contribuição! O fix do teste POPS no Linux CI acabou de entrar em
ca4759fminutos antes.Pull request closed