Docs: cargo test --workspace needs a writable %TEMP% #1096
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1099"
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 fxceless/victory-fork. Originally posted by iloveslopware on 2026-11-25T19:24:36Z.
cargo test --workspacewrites to the Windows temp directory, and thetests/fixtures/hle-probebuild script links through it. In a sandboxed shell that blocks writes to%TEMP%, the link step fails withLNK1104on%TEMP%\lnk*.tmpand the tests fail withPermissionDeniedcreating their temp files — which reads like a build problem, but is the sandbox.This adds one paragraph to Getting started, after the first commands block, naming that failure mode and the
TMP/TEMPworkaround: point them at a writable folder and the suite passes.The failure mode and the workaround come from @Guernica4u's report in #117 (RTX 3060 Ti, Windows 11, MSVC 14.44 build tools, toolchain 1.98.1): 33 tests failed with
PermissionDeniedand the hle-probe link failed withLNK1104untilTMP/TEMPwere pointed at a writable folder; after that, 496 passed / 0 failed / 7 ignored.Docs-only change; no code touched.
AI-assisted: the analysis, the diff, and this PR were machine-assisted; the failure mode and the workaround are from #117's report.
Imported from fxceless/victory-fork. Originally posted by FIJI1299 on 2026-11-25T19:30:22Z.
Verified commit
c4cb700on Windows:Environment
621.40)Results
cargo test -p xtask): 4 passed, 0 failed (0.14s) —README.mdchanges pass all source/asset policy checks cleanly.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.