diff options
| author | lines9686-rgb <282495677+lines9686-rgb@users.noreply.github.com> | 2026-11-23 18:51:13 +0300 |
|---|---|---|
| committer | lines9686-rgb <282495677+lines9686-rgb@users.noreply.github.com> | 2026-11-24 07:09:02 +0300 |
| commit | 5dbd92b92d147cdc5c365fffd8a3f83c6d6ac5f9 (patch) | |
| tree | 1d3a240c61df04b351c20292bb65be2fb93b6531 /runtime/src/thread_stacks.cpp | |
| parent | ece4ba5b31ebc6f345c8e29eae1261f2f780057a (diff) | |
build scripts: refuse a folder with % in its path up front
cmd.exe expands %...% on every line of the generated _build.cmd (twice on a CALL line), and cl.exe rejects a % in the
path-valued /D definitions of the runtime's test targets (D8038) however it is quoted, so a checkout with % in its path
failed in configure, or a few hundred Ninja steps in once the batch was escaped (@ezbyDev's measurements in the original repository).
build_runtime.ps1 now stops before looking for Visual Studio when the checkout path has a %, and build_llvm_mc.ps1 when
-Temp has one, each naming the folder; docs/testing.md gets a Known-problems row. tests/test_build_percent_path.py runs
both scripts with such a path, with git, python and vswhere hidden so that a missing check can't start a real build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions