README: keep Windows build paths short (blake3's ml64 fails past ~170 characters) #2044
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2044
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2044/head"
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?
@Creaa on GitHub · 2026-11-25 04:02 UTC · original
Creaa:docs/windows-short-build-path→main· +8 −0 · 1 files · 1 commits · merged 2026-11-25 21:53 UTCAdds 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
@Dathinel on GitHub · 2026-11-25 04:07 UTC · original · edited 2026-11-25 04:12 UTC
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.
@Marvisak on GitHub · 2026-11-25 09:19 UTC · original · edited 2026-11-25 20:20 UTC
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