README: keep Windows build paths short (blake3's ml64 fails past ~170 characters) #2042
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2044"
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 Marvisak/VIctory. Originally posted by Creaa on 2026-11-25T04:02:55Z.
Adds a note to Getting started for builds that fail on long Windows paths. Fixes #2029.
From a checkout about 170 characters deep, the
blake3dependency's build script fails inml64.exewithA1009: line too long, even with long paths enabled, because its object files are written undertarget. A shortCARGO_TARGET_DIRavoids it. The numbers are from #2029 (150 characters built, 170 failed, the same checkout with a 33-characterCARGO_TARGET_DIRbuilt). The note also says wherevictory.exelands then, since the commands below nametarget\release.What is in it
README.md: one paragraph after the MSVC build tools requirement.Tested
cargo xtask policy: 182 files ok.Not tested
AI use
🤖 Generated with Claude Code
Imported from Marvisak/VIctory. Originally posted by Dathinel on 2026-11-25T04:07:03Z.
Confirmed the workaround for the release build of the locked
blake3 1.8.7dependency at3348a84. I kept the checkout at 77 characters and changed only the fresh output directory incargo build --release --frozen -p blake3 --target-dir <path> -vv(MSVC 14.44.35207,LongPathsEnabled=1).I'd lead with “If building on Windows fails in ml64.exe with A1009, try a shorter target directory.” That also covers a short checkout with a deeply nested build cache. The 170-character checkout in #2029 is a useful example.
I also built the release CLI at the same commit with
cargo build --release --frozen -p victory --target-dir <path>, reusing those directories and the same Cargo home. At 105 characters the build passed andrelease/victory.exe --helpexited 0. At 175 characters the build failed in blake3 with the same MASM A1009.AI-assisted; builds ran locally on Windows.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T04:17:34Z.
Review: COMMENTED
Static review only: README/docs change — no code.
Windows build paths kept short (blake3's ml64 path-length failure) — overlaps with #2050 (also README Windows build path); maintainer should merge one.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T09:19:34Z.
Automated triage for the maintainers.
Merge candidate (unchanged). The head was force-pushed as a single commit on current
main, and the diff is still one short paragraph in the README's Getting started. It says that on Windows a deep checkout or target directory makesblake3'sml64.exestep fail withA1009: line too long. The fix it gives is a shortCARGO_TARGET_DIR, or a checkout nearer the drive's root, and it saysvictory.exethen lands inC:\vt\releaserather than thetarget\releasethe commands below use. A contributor in the thread reproduced the failure on Windows at a 175-character target directory and confirmed the workaround at 105 characters. This fixes #2029.What changed since the last verdict: the commit was rebased onto current
main(the old head is no longer fetchable for a byte-level comparison). The note reads as it did and still does not lead with the symptom, which was an optional suggestion. #2050 is still open and covers the same spot, so only one of the two should land. This one is shorter.CI: passing (
check).Recommending a look, not approving.
Generated by Claude Code
0x80070057/ D3D12id=676):BlendOp=MAXenabled onDXGI_FORMAT_R8_UINTRT slot 2 ([mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35]) #2773