host tests: the two card_pass calls pass the capture argument (the test build did not compile) #4053

Closed
github-bot wants to merge 1 commit from github-bot/gh-4053 into main AGit
Owner

@⁠birdneststream on GitHub · 2026-11-30 15:16 UTC · original
birdneststream:test-card-pass-capture → main · +2 −2 · 1 files · 1 commits · closed without merging

cargo test --no-run fails on main (c71899d9): card_pass gained a sixth argument (capture: [u32; 3]) and its three non-test callers pass it, but two calls in a test in host.rs still pass five:

crates/victory-gpu/src/host.rs:20302:  card_pass(&seed.list, &span, 128 * 1024, 0, 0);
crates/victory-gpu/src/host.rs:20328:  card_pass(&check.list, &span, 128 * 1024, 0, 1);
--> error[E0061]: this function takes 6 arguments but 5 arguments were supplied

This passes [0; 3] at both, as the other callers do. With it the test build compiles again.

Seen in the same run (not changed here, since I don't know which side is right): list::thin::tests::bindings_record_no_work fails with a call is in no list: left 47, right 49 — pure bookkeeping, no GPU, so the same on any machine.

Found while merging main into the Linux/Proton fork (bird/gta-goatse-edition).

**@⁠birdneststream** on GitHub · 2026-11-30 15:16 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4053) `birdneststream:test-card-pass-capture` → `main` · +2 −2 · 1 files · 1 commits · closed without merging `cargo test --no-run` fails on main (c71899d9): `card_pass` gained a sixth argument (`capture: [u32; 3]`) and its three non-test callers pass it, but two calls in a test in `host.rs` still pass five: ``` crates/victory-gpu/src/host.rs:20302: card_pass(&seed.list, &span, 128 * 1024, 0, 0); crates/victory-gpu/src/host.rs:20328: card_pass(&check.list, &span, 128 * 1024, 0, 1); --> error[E0061]: this function takes 6 arguments but 5 arguments were supplied ``` This passes `[0; 3]` at both, as the other callers do. With it the test build compiles again. Seen in the same run (not changed here, since I don't know which side is right): `list::thin::tests::bindings_record_no_work` fails with `a call is in no list: left 47, right 49` — pure bookkeeping, no GPU, so the same on any machine. Found while merging main into the Linux/Proton fork (bird/gta-goatse-edition).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 15:23:36 +00:00
github-bot closed this pull request 2026-12-01 02:41:41 +00:00
Author
Owner

@⁠birdneststream on GitHub · 2026-12-01 02:38 UTC · original

Closing: main fixed the same two calls in 456aec17 before this was opened. Nothing to merge here.

**@⁠birdneststream** on GitHub · 2026-12-01 02:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4053#issuecomment-7298832630) Closing: main fixed the same two calls in 456aec17 before this was opened. Nothing to merge here.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4053
No description provided.