ran cargo fix --lib -p xcl (fixs deprecated methods) #3087
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3087"
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?
Imported from ivall/xcl. Originally posted by Wolf1098 on 2026-11-28T02:56:00Z.
modified: crates/xcl/src/hle/xgameruntime/mod.rs
changed fetch_update to try_update...
less compile noise
What is in it
cargo fix --lib -p xcl
Imported from ivall/xcl. Originally posted by Wolf1098 on 2026-11-28T04:52:20Z.
might need rerunning... there was alot of noise added from the 345 incoming commits
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:28:28Z.
Triage (#1607) – head
e772280#1696 makes the identical one-line change in
xgameruntime/mod.rs:XUserCloseHandle(fetch_update->try_update), bundled with a wave-mode log that #1410 adds. #1696 is listed for closing as a duplicate of this PR and #1410, so this PR is the one to keep for this change.The change is partial: this head still calls
fetch_updateind3d12x/alloc_pool.rs,d3d12x/real.rsandd3d12x/real/dispatch_chain.rs, so not all of the deprecation warnings the title mentions are gone.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:42:05Z.
Review (head
e7722806, diff read, not a merge-check;PR descriptionred):fetch_updateis still used inalloc_pool.rs~757 andreal.rs~5161 on main, so the deprecation warnings it targets stay. If the aim is less compile noise, changing all three in one commit (or#[allow(deprecated)]until the minimum toolchain is agreed) would finish the job.try_updateneeds a newer toolchain thanfetch_update; CI builds it, but contributors on an older stable would now fail to compile.PR descriptionchecks (Tested, Regression run, Not tested, AI use), and the title isn't in the repository's<Area>: <what it does>style (e.g.XGameRuntime: XUserCloseHandle uses try_update).Fine:
try_updatehas the same semantics asfetch_updatehere: the closure always returnsSome, so the result is ignored either way.AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
View 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.