README: document a short-path workaround for Windows builds #2029
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#2029
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@wanchudao on GitHub · 2026-11-25 03:37 UTC · original
What
Could the README's "Getting started" section include a Windows troubleshooting note
about using a shorter checkout or build output path?
blake3build script failed inml64.exefrom a checkoutabout 150 characters long. Building through a short drive mapping (using
subst)worked on their setup.
LNK1104while linking a build-script executable. A shorterCARGO_TARGET_DIRworked in that report.
I checked the README and the 154 tracked files at
ffe310e. The search foundruntime and test-helper references to paths, with no Windows build-path guidance.
Local reproduction
From isolated copies of the VIctory tree at
ffe310e, I built the lockedblake3 v1.8.7dependency on Windows 11 build 26300 with Rust 1.98.1(
x86_64-pc-windows-msvc), MSVC toolset 14.44.35207 (ml64.exe14.44.35230.0),and
LongPathsEnabled=1.cargo build --locked --offline -p blake3 -vv, withCC_ENABLE_DEBUG_OUTPUT=1and a fresh target directory for each run.
ml64.exe -Fooutput path lengthblake3build script failed with MASM fatal errorA1009: line too longCARGO_TARGET_DIRSuggested note
Scope
These numbers describe targeted
blake3builds on one Windows setup. The150-character checkout built here. The
substresult and the xcl linker failureare from the linked reports.
AI use — DeepSeek Harness (DeepSeek V4.1 Flash) performed the original documentation
search and drafted this issue. OpenAI Codex (GPT-6.2 Sol) ran and independently
reviewed the local follow-up, checked the repository search, and revised the issue.
@fiestorra on GitHub · 2026-11-25 04:10 UTC · original
README: a short build path on Windows, and what its failures look like
Adding the note to Getting started, next to the MSVC requirement, since that is where someone hits it.
What it says:
blake3'sml64.exestep fails around 150 characters (#836), and the same shape shows up elsewhere asLNK1104on a build-script executable (xcl#1118);C:\src\victory), a short drive mapping over the deep one (subst V: C:\that\long\path, which is what #836's reporter used), or moving the build output:The last one is the one worth knowing: most of the path length is the target directory (
target\debug\build\<crate>-<hash>\out\…), so a deep checkout plus a short target directory usually works, and a short target directory is also the cheapest thing to change.I did not invent a threshold: the "about 150 characters" is #836's number, and the note says so with the issue number rather than stating it as a rule.
A README change runs the same CI job as everything else;
cargo clippy --workspace --all-targets --locked -- -D warningsis clean locally.Closes #2029. Pull request: #2050
No game data is involved: documentation only.
Written with an AI assistant.
@Marvisak on GitHub · 2026-11-25 12:51 UTC · original
Automated triage for the maintainers.
Documentation request, in scope (building on Windows hosts). README.md's "Getting started" on
main(940d32f) names the MSVC build tools but says nothing about path length. Two open PRs add the note: #2044 and #2050; one of them should be picked.Generated by Claude Code