ci: fix workspace clippy warnings and VICTORY_INDIRECT_REST tests #14
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/codec-d--cool_fox!14
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-14"
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?
@mattkajorinc on GitHub · 2026-11-26 07:58 UTC · original
mattkajorinc:fix/ci-clippy-and-tests→main· +90 −69 · 25 files · 1 commits · openFixes CI failures observed on
main(f4b48ad):Workspace Clippy (
-D warningsunder default and--all-features):clippy::manual_is_multiple_of,clippy::precedence,clippy::unnecessary_sort_by,clippy::unreadable_literal,clippy::mem_replace_with_default,clippy::needless_borrow,clippy::unnecessary_cast,clippy::unit_arg,clippy::slice_from_ref,clippy::zero_ptr,clippy::implicit_saturating_sub,clippy::empty_loop, and feature-gateddead_codewarnings acrossvictory,victory-formats,victory-gpu,victory-hle, andvictory-loader.large_enum_variant,too_many_arguments,wrong_self_convention).Indirect batch tests vs
VICTORY_INDIRECT_REST=0default:indirect::tests::host_list_budget_starts_empty_at_each_submission: use a[64, 1, 1]small draw (2,048cost vs4,096remaining after two[2^26, 1, 1]draws leave2,048budget) so budget exhaustion behaves identically under bothVICTORY_INDIRECT_REST=0andVICTORY_INDIRECT_REST=1.indirect::tests::warp_batch_charges_every_execution: checktake_restagainst the activeRESTbehavior (filled == 0 && !take_restvs resting charges).Verification (Windows MSVC offline, WARP + RTX 4070)
cargo clippy --workspace --all-targets --locked --offline -- -D warnings: passedcargo clippy --workspace --all-targets --all-features --locked --offline -- -D warnings: passedcargo test --workspace --locked --offline: all crates passed (0 failed;victory: 10+2,victory-core: 13,victory-formats: 41,victory-game: 3,victory-gpu: 335 passed / 34 ignored,victory-hle: 150+1 passed / 2 ignored,victory-loader: 39+2+1,victory-pe: 36,victory-pipeline: 7,victory-shader: 281 passed / 4 ignored,xtask: 6)cargo run --locked --offline -p xtask -- policy:asset policy: 250 files okView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.