Docs: cargo test --workspace needs a writable %TEMP% #1096

Open
iloveslopware wants to merge 1 commit from upstream-pr/1099 into main
iloveslopware commented 2026-11-25 19:24:36 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by iloveslopware on 2026-11-25T19:24:36Z.


cargo test --workspace writes to the Windows temp directory, and the tests/fixtures/hle-probe build script links through it. In a sandboxed shell that blocks writes to %TEMP%, the link step fails with LNK1104 on %TEMP%\lnk*.tmp and the tests fail with PermissionDenied creating 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/TEMP workaround: 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 PermissionDenied and the hle-probe link failed with LNK1104 until TMP/TEMP were 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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6612007240 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1099). Originally posted by [iloveslopware](https://github.com/iloveslopware) on 2026-11-25T19:24:36Z. --- `cargo test --workspace` writes to the Windows temp directory, and the `tests/fixtures/hle-probe` build script links through it. In a sandboxed shell that blocks writes to `%TEMP%`, the link step fails with `LNK1104` on `%TEMP%\lnk*.tmp` and the tests fail with `PermissionDenied` creating 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`/`TEMP` workaround: 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 `PermissionDenied` and the hle-probe link failed with `LNK1104` until `TMP`/`TEMP` were 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.
FIJI1299 commented 2026-11-25 20:09:28 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by FIJI1299 on 2026-11-25T19:30:22Z.


Verified commit c4cb700 on Windows:

Environment

  • OS: Windows 11 (Build 26100)
  • CPU: AMD Ryzen 5 9600X 6-Core Processor
  • RAM: 32 GB
  • GPU: NVIDIA GeForce RTX 5070 (12 GB VRAM, driver 621.40)

Results

  • Repository policy check (cargo test -p xtask): 4 passed, 0 failed (0.14s) — README.md changes pass all source/asset policy checks cleanly.
<!-- greyfinch-sync:fxceless/victory-fork:comment:7172389940 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1099#issuecomment-7172389940). Originally posted by [FIJI1299](https://github.com/FIJI1299) on 2026-11-25T19:30:22Z. --- Verified commit `c4cb700` on Windows: ### Environment * **OS:** Windows 11 (Build 26100) * **CPU:** AMD Ryzen 5 9600X 6-Core Processor * **RAM:** 32 GB * **GPU:** NVIDIA GeForce RTX 5070 (12 GB VRAM, driver `621.40`) ### Results * **Repository policy check (`cargo test -p xtask`):** **4 passed, 0 failed** (`0.14s`) — `README.md` changes pass all source/asset policy checks cleanly.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1099:upstream-pr/1099'
git switch 'upstream-pr/1099'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/1099'
git switch 'upstream-pr/1099'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1099'
git switch 'upstream-pr/1099'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1099'
git switch 'main'
git merge --squash 'upstream-pr/1099'
git switch 'main'
git merge --ff-only 'upstream-pr/1099'
git switch 'main'
git merge 'upstream-pr/1099'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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
fxceless/victory-fork!1096
No description provided.