XGameRuntime: try_update instead of the deprecated fetch_update #251
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!251
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/251/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?
@mmmharius on GitHub · 2026-11-23 21:52 UTC · original
mmmharius:fix/atomic-try-update→main· +1 −1 · 1 files · 1 commits · closed without mergingRust 1.100 deprecates
AtomicU32::fetch_update(renamedtry_update), so every build of the workspace prints a warning fromXUserCloseHandle(hle/xgameruntime/mod.rs). This is the only use in the repository.try_updatetakes the same arguments and behaves the same; it is stable since Rust 1.95, so older stable toolchains still build.Tested on Windows with an NVIDIA RTX 3060, rustc 1.100: the build has no warning left,
scripts/test.ps1all green (611 passed, 0 failed, 20 ignored).@futurepro62 on GitHub · 2026-11-24 03:04 UTC · original
Tested exact head
8e091d7(on its base60565c4).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 651 passed, 0 failed, 40 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.deprecatedwarning;main(and other PR heads built here) warn aboutfetch_updateinxgameruntime/mod.rson Rust 1.100.0.Not tested
scripts/smoke.ps1(no title on this machine), AMD, wave64 hardware, a release build.AI use
@ivall on GitHub · 2026-11-24 11:17 UTC · original
Closing for now as a standalone deprecation cleanup. Main still uses fetch_update; this close does not imply the change has been applied. Thank you for the contribution.
Pull request closed