launcher: name a missing Rust or C++ build tools before the first build (LAUNCHER-RUST-PREREQ) #3187
Open
MoonEyes wants to merge 1 commit from
upstream-pr/3187 into main
pull from: upstream-pr/3187
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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
ProjectLeonida/mandy!3187
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3187"
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 ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T17:24:55Z.
Claimed in the coordination issue as: LAUNCHER-RUST-PREREQ (released by @tiguan26 on 30 Nov)
Fixes: #3025
Fixes: #3131
Fixes: #3117
What and why
A first start through
Launcher.batbuildsleonida.exewithd3d12\scripts\build-nvidia.ps1. Without Rust the window showed only PowerShell's localizedCommandNotFoundExceptionforcargo; without the Visual Studio C++ build tools cargo stopped at its first link.build-nvidia.ps1now, before building:CARGO_HOME\bin(a Rust installed after the window opened), else says Rust is missing (rustup.rs,winget install Rustlang.Rustup) and exits 1;-latest -prerelease -products *, the same lookup asscripts/build_llvm_mc.ps1) for the x64 C++ tools,VCINSTALLDIRfrom a Developer prompt counting too, else names the Build Tools winget command and exits 1.scripts/play-d3d12.ps1's message after a failed build now points at the lines above it.Tested
tests/test_build_nvidia_cargo.py: missing Rust, cargo only inCARGO_HOME\bin, missing C++ tools (Windows), C++ tools found by a stand-in vswhere (Windows). All four fail onmain(checked on Windows: the fourth fails too, becausemainhas noCARGO_HOMEinlookup) and pass with this change.python -I scripts/check_no_game_data.pyon the changed files,tests/test_text_write_line_endings.py,test_docs_*.py: OK.GPUs tested: n/a (build script only)
AI-assisted: yes. Author: Claude Opus (Claude Code). Reviewer: a separate read-only Claude Opus reviewer agent (twice, findings applied).
finding:
d3d12/scripts/play-nvidia.ps1:138has its own$noCargocheck without theCARGO_HOME\binlookup; one shared helper would remove the duplicate. No game files or specific hardware needed.Checklist
mainand merges cleanly.docs/design.md(n/a)Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T17:48:54Z.
Verified here: it applies and its own tests pass.
What it fixes is the kind of report that reads as a bug and is a missing tool: #3025 and #3131 both arrive as "it does not work", and the launcher's first build fails on a missing Rust or C++ toolchain in the window, before anything explains it. A line that names what is missing, before the build starts, is the whole of the value here - and it is tested against the message, which is the part that would otherwise rot silently.
What I could not test: the path where the tool really is missing. This machine has both toolchains, so the test's synthetic case is as far as I can go - and that is the honest limit: I verified that the launcher says the right thing, not that it says it on a machine that needs it.
And the checker would read this as
red not constructible-tests/test_build_nvidia_cargo.pyis a new file, so the red side has nothing to build from. That is not a fault in the pull request; it is the case the docs describe, and I am noting it so the next reader of the verdict does not chase it.For the merge:
BLOCKED, and it is two launcher scripts plus a test - the review is short, which after a night of 2,277-line pull requests is worth saying.AI-assisted: yes - DeepSeek v4.1 (flash).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T19:40:13Z.
VERIFY-3187 — Windows nativo, con Build Tools instaladas (el caso que el PR describe)
8af4eb4424910c5c2emainb41763227—git merge-tree --write-treeclean,git merge --no-ffclean (auto-mergedplay-d3d12.ps1, which #3172 changed since the base)Ran (native Windows, Python 3.13)
Negative control (
d3d12/scripts/build-nvidia.ps1reverted tomain, the PR's test kept):The real check, on a machine that has only the Build Tools (
vswhere.exepresent,VCINSTALLDIRunset — this one):That is the flag combination this repository has already been bitten by: without
-products *the samevswhereprints nothing on a Build-Tools-only machine, and the script would then tell a user with the tools installed to install them. The PR's line gets it right.What I could not test
Launcher.batend to end: not run; the change is insidebuild-nvidia.ps1.Verdict: red then green, and the
vswhereinvocation the PR adds returns the right path on a Build-Tools-only install.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T22:40:39Z.
RUN (independent check on Windows, #3187 head
8af4eb442b8f73c17b5224a72808d61895e5cf99and #3220 head0beb7d26d85be96f280c4baa6a66a351fea47a6a, both merged withgit merge --no-ffintomain16243cd6eb16d70eefa31fd42213daf5a3583ea4)Windows 11, Windows PowerShell 5.1, Python 3.14, run with
python -I. No cargo build, no game data. Nothing was run against the real repo working tree (detached worktree only).Green
main:python -I tests/test_build_nvidia_cargo.pyruns 4 tests, 4 OK (missing Rust, cargo only inCARGO_HOME\bin, missing C++ tools, C++ tools found by the stand-in vswhere).Red
main'sd3d12/scripts/build-nvidia.ps1put back: 4 of 4 fail (restored afterwards).CARGO_HOME\bin, which main never looks in. The tests are fine; the sentence is wrong (3 red + 1 control should read 4 red).Together with #3220
play-nvidia.ps1andtests/test_win_launchers.pyare not in #3187).test_build_nvidia_cargo.py4/4 OK;tests/test_win_launchers.py10/10 OK (run twice, once as a script, once through unittest discover).play-nvidia.ps1 -Build diagwith no cargo anywhere and no build: "No build and no cargo: install Rust (README.md)", exit 1.build-nvidia.ps1is never reached, so #3187's check is not hidden, but its better message (rustup.rs, winget) is not shown on this path either.build-nvidia.ps1prints the Build Tools message and exits 1;play-nvidia.ps1does not look at that exit code, goes on, prints "No ...leonida.exe. Build it first", exit 1. The player sees both lines, exit code is 1, and the real reason stays on screen. OK.scripts/play-d3d12.ps1(the launcher): it callsbuild-nvidia.ps1itself whenleonida.exeis missing and throws with the new "the lines above say why" text on exit 1. OK.play-nvidia.ps1failures nowexit 1instead ofreturn(#3220), so Launcher.bat shows a failure code for those. OK.Gaps
play-nvidia.ps1:137$noCargo = -not (Get-Command cargo ...)has noCARGO_HOME\binlookup. I ran the mergedplay-nvidia.ps1directly with cargo only in a fakeCARGO_HOME\binand no build: it prints "No build and no cargo" and exits 1, althoughbuild-nvidia.ps1would have found that cargo. A player with Rust only underCARGO_HOME(installed after the window opened, or a customCARGO_HOME) who runsplay-nvidia.ps1by hand (docs/windows-memory.md does) is refused.play-d3d12.ps1the gap mostly does not show:build-nvidia.ps1runs first when the exe is missing and prependsCARGO_HOME\binto the processPATH, whichplay-nvidia.ps1then inherits.build-nvidia.ps1has not run in that process: it says "no cargo" and silently keeps the non-DLSS build.finding:. A shared helper or the same 4 lines inplay-nvidia.ps1fixes it; I would not block #3187 on it, but #3187 should not be read as "cargo only under CARGO_HOME works everywhere".play-nvidia.ps1:148ignores the exit code ofbuild-nvidia.ps1. With an existing stale exe, a failed rebuild (new exit 1) is followed by running the old build. Pre-existing, not worse after the PRs.Fixes: #3025andFixes: #3131. Both outputs are the sameCommandNotFoundExceptionforcargofromplay-d3d12.ps1(the Russian-locale text is in #3131). Covered when cargo is absent or only under the default or customCARGO_HOME. #3117 (English text, same exception, same launcher, same "Building with DLSS" line) is covered the same way and is not claimed: addFixes: #3117. Caveat for all three: if the reporter has Rust installed somewhere else not on PATH, they now get "Rust is not installed" with a misleading hint; nothing in the logs shows that case.-latest -prerelease -products *,VCINSTALLDIR, message change inplay-d3d12.ps1). Only the "fourth test passes on main" sentence is wrong. I did not check the claimed release of the item by @tiguan26.no_cargowithPATH = '', so it passes with or without #3187; no test covers play-nvidia with cargo only inCARGO_HOME\bin.Verdict
#3187: OK to merge on green CI; the code does what it says and the tests fail on main and pass on the branch. Fix the body (4 red, not 3 + a control; add
Fixes: #3117). #3220: OK. Merged together: no conflict, no check hides another, the player gets exit 1 with a readable message in every case I tried. Open follow-up: theplay-nvidia.ps1CARGO_HOME\bingap (finding 1).AI-assisted (Claude Code), models: Claude Opus 5.5 (checker), separate Claude Opus 5.5 judge. Note: #3187 is by MoonEyes, so this is not a third-party check.
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-02T22:58:10Z.
Review: COMMENTED
I independently verified the direct-launch follow-up noted in the body. On this head (
8af4eb44) combined with #3220 (0beb7d26), I used Linux PowerShell with a stubcargoinCARGO_HOME/bin, absent fromPATH, and no runtime build. Callingbuild-nvidia.ps1found and invoked the stub. Starting directly throughplay-nvidia.ps1stopped before the build with exit 1 and “No build and no cargo.” The same environment was used for both calls. This distinguishes the existing direct-launch preflight gap from the missing-tool handling fixed here. No actual build or game was started.Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-12-03T02:31:41Z.
RUN (gate-style, build and in game): head
8af4eb442merged alone withgit merge --no-ffontomainef35d683e(no conflict). RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro (build 26300), Visual Studio 2022 Build Tools and Rust installed.First build as a user would run it.
d3d12\scripts\build-nvidia.ps1(the scriptLauncher.batruns on a first start) was started with a plain PowerShell, with no Developer prompt, noCARGO_TARGET_DIR, noCARGO_BUILD_TARGETand notargetfolder yet. cargo was found, vswhere found the C++ tools, and neither new message was printed. The build ran to the end in 199 s (exit 0) and wrotebuilt-with.txt. The case without Rust or without the C++ tools was not tried on this machine; the four cases oftests/test_build_nvidia_cargo.pywere not rerun here.Observed on the way, not caused by this change: rustup's default host on this machine is
x86_64-pc-windows-gnuandd3d12/rust-toolchain.tomldoes not select a target, so that build made a GNU executable (133.5 MB, no.pdb), while the new comment says the toolchain's target isx86_64-pc-windows-msvc. The vswhere check runs whichever host the toolchain builds for. On a machine with a GNU default host and no Visual Studio it would stop the build at the new message; whether that build could have gone through without Visual Studio was not tried.In game. The runs used an MSVC build of the same tree (
diagnostics,mimalloc, targetx86_64-pc-windows-msvc, 21.7 MB). Launcher defaults except-PrecompileUsed(on thismainthe launcher's default precompiles every recorded pipeline, which takes hours on a first start), Series S settings,-NoDlss -NoFrameGen, standing at the save. A warm-up run first, in a data folder of its own (thismainchanged the translator since the last gate run). Then one run with the memory safety stop, ended 300 s after reaching the world:Warnings: only kinds that a run of the previous
main(f3865cae8) with another pull request (#3128) printed too, in about the same numbers; no new kind. No pipeline refused other than the 29 "creation method that is not implemented" lines that run has as well. The last frame saved (8192) shows the world drawn normally. The play script's new failure line was not reached (the build did not fail).Also checked earlier on the same merge, without building: the pull request's own tests pass (
tests/test_build_nvidia_cargo.py: 4 passed with pytest, 4 OK with unittest). The launcher from this branch, with no exe present, was run three times with the environment narrowed: with Rust hidden (systemPATH, emptyCARGO_HOME) it printed the new "Rust is not installed" message and then stopped with its build failure line; with the Build Tools hidden (vswherenot found) it printed the Visual Studio Build Tools message and stopped the same way; with the real tools and a stand-incargoit printed nothing new and calledcargo build --locked --profile diag -p leonida --features diagnostics,mimalloc. These were simulated on this PC, not on machines that really lack the tools.Verdict: PASS. The new checks let a machine with Rust and the C++ tools build as before, and the game runs from that launcher path with no new warning or failure. Not covered here: the two failure cases on a real machine, a Rust installed after the window opened (
CARGO_HOME\binlookup), Developer prompts (VCINSTALLDIR),-RayTracing, DLSS and frame generation, other GPUs, Wine/Proton.AI-assisted: Claude Code (Claude Opus 5.5)
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T03:06:31Z.
Review: COMMENTED
Rechecked
8af4eb44on2791b775. In PowerShell 7.7.0 on Linux, the two portable prerequisite tests passed with the fixture PATH narrowed to exclude the host Cargo. The two Windows-only tests skipped. This also combines cleanly with #3283: the direct build invocation returned the fixture Cargo’s status, and a nested PowerShell caller continued and read7.I followed up on the GNU-host observation. With
OS=Windows_NT, noVCINSTALLDIR, and an empty Program Files fixture, the PR returned 1 before calling the stand-in Cargo. The same fixture onmainreached Cargo. The check therefore applies to every Windows host.rust-toolchain.tomladds the MSVC standard library and leaves the default host’s build target available. If Windows GNU builds are intended to remain usable, please gate the Visual Studio check on the effective target and cover the GNU case. I only exercised the launcher decision in this probe. Rustup target configurationAI-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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.