Find the launcher executable in CARGO_TARGET_DIR #4846
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4846
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4845"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 11:14 UTC · original
andrewpozdnakov7-jpg:codex2/fix/launcher-cargo-target-dir→main· +11 −3 · 1 files · 1 commits · openWhat it changes
play-nvidia.ps1now looks for the selected build profile underCARGO_TARGET_DIRwhen it is set. It resolves a relative value from the repository, where the script runs Cargo. The launcher uses the same executable path before and after building.With a custom target directory, the current script requests another build and then reports a missing executable even when Cargo has already built it.
How it was tested
warm --used. Main5fabb46eand releasev2026.11.30.03requested a build and exited 1 with the stub already in a custom target directory.daa1d78f2b6cb595fe314a5328bb5ea475eccb7cfound the stub with an absolute target directory, a repository-relative target directory, and the default target directory. All three runs exited 0 without calling Cargo, with the caller starting outside the repository.cargo xtask policy --stagedaccepted the launcher change. This fixture covers executable lookup.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
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.