docs: record the Zig cache workaround for the two archive fixtures #1088
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1095"
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 R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T00:56:06Z.
What
cmake --build --preset devstopped twice on this host on the two Zig fixtures,archive_readerandarchive_texture_reader, each with:Running the same command by hand gave the more specific
error: unable to create compilation: AccessDenied.Pointing both Zig caches at writable directories built both targets, and the rest of the dev preset, with no other
change:
This adds one bullet to Windows build notes in
README.mdand the measured before/after indocs/experiments.md, under the section that already documents the pinned Zig compiler.Measured
Host: Windows 11 build 26300.9974, x64, Core Ultra 9 285H, MSVC 14.44.35207 (VS 2022 Build Tools),
Windows SDK 10.0.26100, CMake + Ninja from the VS component, Python 3.12.10.
Venv from
requirements-dev.txt(pefile==2024.8.26,iced-x86==1.21.0,ziglang==0.13.0).Commit:
110e186.cmake --build --preset devFAILED: archive_reader.exe,FAILED: archive_texture_reader.exe,error: AccessDenied, build stopserror: unable to create compilation: AccessDenied, exit 1ZIG_GLOBAL_CACHE_DIR+ZIG_LOCAL_CACHE_DIRsetreader_probe.exewrittencmake --build --preset devFAILED:linectest --preset dev -NTotal Tests: 603Two negative controls, both from the same failing host:
%LOCALAPPDATA%\zigdid not exist in the failing runs, and pre-creating it did not change the failure, so thedefault location is not simply a missing directory.
-femit-bintarget wrote successfully once the two variableswere set, and the rest of the preset had already written thousands of objects into
out/build/dev.So the failing step is the cache, not the output path. Which path the packed compiler resolves by default on this
host is not established; the note records the two settings, not a cause. Controlled Folder Access reported
0(off) and no Defender ASR rules are configured here, so I am not claiming either as the mechanism.
Tested
Docs only. No source, test, fixture or CMake change.
Notes
Refs: no issue — small fix, opened directly as a PR perCONTRIBUTING.md("Small fixes can start with a PR").Say the word and I will move it into an issue first.