CI: fix the red Linux job (unused variable in the POPS test) #39
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/uiliannn--VItoriaBr!39
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/39/head"
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?
@lcg007xd-c on GitHub · 2026-11-25 20:08 UTC · original
lcg007xd-c:ci/linux-clippy-pops-test→main· +2 −0 · 1 files · 1 commits · closed without mergingWhat 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
@uiliannn on GitHub · 2026-11-25 20:33 UTC · original
Obrigado pela contribuição! O fix do teste POPS no Linux CI acabou de entrar em
ca4759fminutos antes.Pull request closed