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

Open
github-bot wants to merge 1 commit from github-bot/gh-1099 into main AGit
Owner

@⁠iloveslopware on GitHub · 2026-11-25 19:24 UTC · original
iloveslopware:docs-temp-lnk1104 → main · +8 −0 · 1 files · 1 commits · open

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.

**@⁠iloveslopware** on GitHub · 2026-11-25 19:24 UTC · [original](https://github.com/fxceless/victory-fork/pull/1099) `iloveslopware:docs-temp-lnk1104` → `main` · +8 −0 · 1 files · 1 commits · open `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.
cargo test --workspace and the hle-probe build script both write to the
Windows temp directory. In a sandboxed shell that blocks %TEMP%, the
probe's link step fails with LNK1104 and the tests fail with
PermissionDenied, which reads like a build problem and costs a diagnosis.
Getting started now names the failure mode and the TMP/TEMP workaround,
from the report in #117.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:57:29 +00:00
Author
Owner

@⁠FIJI1299 on GitHub · 2026-11-25 19:30 UTC · original

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.
**@⁠FIJI1299** on GitHub · 2026-11-25 19:30 UTC · [original](https://github.com/fxceless/victory-fork/pull/1099#issuecomment-7172389940) 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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1099/head:github-bot/gh-1099'
git switch 'github-bot/gh-1099'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1099'
git switch 'github-bot/gh-1099'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1099'
git switch 'github-bot/gh-1099'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1099'
git switch 'main'
git merge --squash 'github-bot/gh-1099'
git switch 'main'
git merge --ff-only 'github-bot/gh-1099'
git switch 'main'
git merge 'github-bot/gh-1099'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.