Updated Deprecated Method Name in mod.rs #644

Closed
JR-Wiederkehr wants to merge 9 commits from upstream-pr/649 into main
JR-Wiederkehr commented 2026-11-24 02:52:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JR-Wiederkehr on 2026-11-24T02:52:56Z.


I see this every single time i build, and i built with it changed and it works as intended. So I'm just updating it to the consistent name used by that library.

<!-- greyfinch-sync:ivall/xcl:issue:6573536379 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/649). Originally posted by [JR-Wiederkehr](https://github.com/JR-Wiederkehr) on 2026-11-24T02:52:56Z. --- I see this every single time i build, and i built with it changed and it works as intended. So I'm just updating it to the consistent name used by that library.
milas6669 commented 2026-11-24 07:06:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by milas6669 on 2026-11-24T05:03:35Z.


Test report on b3ae3016e95d7502ecab961f4ce704b697b5f5c4 (PR head, base main 64b3f35, no merge needed).

Tested

  • Intel i9-10900KF, Windows 11 Pro 10.0.26200, rustc 1.100.0 x86_64-pc-windows-msvc, debug
  • cargo test -p xcl --lib -- --test-threads=2 --skip gpu:: --skip d3d12x --skip vram (the CPU-only part of the lib tests; the GPU was busy): 277 passed, 0 failed, 2 ignored, the same counts as main 64b3f35.
  • The build of the lib has 0 use of deprecated warnings on this head; on main it has 1 (Atomic::<u32>::fetch_update: renamed to try_update), the call this PR replaces.

Not tested

  • older Rust: try_update needs a Rust that has it (1.100.0 here). The repo asks for stable, but I did not look for an MSRV or run an older toolchain.
  • the GPU tests, the e2e tests and cargo test --workspace
  • scripts/smoke.ps1 (a runtime file, one line)

AI use

  • Claude Code, Claude Sonnet 5.5, ran the commands and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7122585727 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/649#issuecomment-7122585727). Originally posted by [milas6669](https://github.com/milas6669) on 2026-11-24T05:03:35Z. --- Test report on `b3ae3016e95d7502ecab961f4ce704b697b5f5c4` (PR head, base `main` 64b3f35, no merge needed). **Tested** - Intel i9-10900KF, Windows 11 Pro 10.0.26200, rustc 1.100.0 `x86_64-pc-windows-msvc`, debug - `cargo test -p xcl --lib -- --test-threads=2 --skip gpu:: --skip d3d12x --skip vram` (the CPU-only part of the lib tests; the GPU was busy): **277 passed, 0 failed, 2 ignored**, the same counts as `main` 64b3f35. - The build of the lib has 0 `use of deprecated` warnings on this head; on `main` it has 1 (`Atomic::<u32>::fetch_update`: renamed to `try_update`), the call this PR replaces. **Not tested** - older Rust: `try_update` needs a Rust that has it (1.100.0 here). The repo asks for `stable`, but I did not look for an MSRV or run an older toolchain. - the GPU tests, the e2e tests and `cargo test --workspace` - `scripts/smoke.ps1` (a runtime file, one line) **AI use** - Claude Code, Claude Sonnet 5.5, ran the commands and wrote this report.
Anon64 commented 2026-11-24 08:03:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-24T07:35:59Z.


Regression runs for this PR's head b3ae301 and for its base main 64b3f35, on a retail title (same title, 60 s each), made with scripts/smoke.ps1 (release, clean tree at each commit) and pasted unedited, for Regression run.

main:

xcl-smoke v1
commit: 64b3f35599bb7102f55d640e1a791e7d6dd3b175
gpu: NVIDIA GeForce RTX 3060
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1649 (PresentX 1649)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16734 MB

this PR:

xcl-smoke v1
commit: b3ae3016e95d7502ecab961f4ce704b697b5f5c4
gpu: NVIDIA GeForce RTX 3060
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1651 (PresentX 1651)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14588 MB

Tested

  • NVIDIA GeForce RTX 3060 12 GB (driver 581.80, wave32), Intel Core i9-14900KF, Windows 11 25H2 26200.9974, Rust 1.90.0

Not tested

  • the unit and e2e tests on this machine
  • whether the title reaches the changed code; this is a regression check only

Report written with Claude Code (Claude Opus 5.5) from runs on this machine.

<!-- greyfinch-sync:ivall/xcl:comment:7125165345 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/649#issuecomment-7125165345). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-24T07:35:59Z. --- Regression runs for this PR's head `b3ae301` and for its base `main` `64b3f35`, on a retail title (same title, 60 s each), made with `scripts/smoke.ps1` (release, clean tree at each commit) and pasted unedited, for **Regression run**. main: ``` xcl-smoke v1 commit: 64b3f35599bb7102f55d640e1a791e7d6dd3b175 gpu: NVIDIA GeForce RTX 3060 title: retail-title seconds: 60 exit: 0x0 frames shown: 1649 (PresentX 1649) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16734 MB ``` this PR: ``` xcl-smoke v1 commit: b3ae3016e95d7502ecab961f4ce704b697b5f5c4 gpu: NVIDIA GeForce RTX 3060 title: retail-title seconds: 60 exit: 0x0 frames shown: 1651 (PresentX 1651) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14588 MB ``` **Tested** - NVIDIA GeForce RTX 3060 12 GB (driver 581.80, wave32), Intel Core i9-14900KF, Windows 11 25H2 26200.9974, Rust 1.90.0 **Not tested** - the unit and e2e tests on this machine - whether the title reaches the changed code; this is a regression check only Report written with Claude Code (Claude Opus 5.5) from runs on this machine.
upstream-sync closed this pull request 2026-11-24 20:03:44 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!644
No description provided.