You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the Rust Windows toolchain build on workstations
Pass the `--build` on the install step, as on Windows some machines
may decide to target x86_64-pc-windows-gnu instead of
x86_64-pc-windows-msvc when it's not specified.
Add `.exe` suffix on the clang/llvm binary paths. Without it the
bootstrap tool can run them but can't "find" them and this causes
errors which then cause it to rebuild everything every time, even
rebuilding things multiple times across the build_rust.py steps. This
should also make the bot build faster.
Warn if the sh.exe is coming from gnubby as that is a cygwin shell
and it can't handle normalized unix-style paths like git bash can.
The Rust install will fail if trying to use that shell. Since it needs
to be first in the PATH for other things, let --sh specify the path to
Git's shell and then insert that at the front of PATH for the duration
of build_rust.py.
Avoid dirtying files by downloading zlib when using --skip-checkout
so that it's quicker to rebuild incrementally on Windows.
Bug: 40212971
Change-Id: I192a05e1b977e5442e8a8ecc06617938994880ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5893972
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1361873}
NOKEYCHECK=True
GitOrigin-RevId: 4aa05521467cf5025f516d46138554673976371c
0 commit comments