Skip to content

Commit 0fb5fe2

Browse files
danakjAravind Vasudevan
authored andcommitted
Pass --build to x.py when building Rustc
This ensures that on Windows we build bootstrap for the MSVC API, and avoids trying to use a missing x86_64-w64-mingw32-gcc linker. The windows bots were choosing MSVC correctly somehow, but not all Windows machines do (my cloudtop does not). This is harmless on other platforms, but passing it everywhere for consistency. [email protected] Bug: 1271215 Change-Id: Ib789975a2142ac965b682d073b07c823ad78fc2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4370520 Auto-Submit: danakj <[email protected]> Reviewed-by: Collin Baker <[email protected]> Commit-Queue: Collin Baker <[email protected]> Cr-Commit-Position: refs/heads/main@{#1121867} NOKEYCHECK=True GitOrigin-RevId: 3ba1c192e0b9af85afa80654493e4f7d935662b2
1 parent 548d233 commit 0fb5fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_rust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def main():
698698
else:
699699
assert not rest
700700

701-
xpy_args = []
701+
xpy_args = ['--build', host_triple]
702702
if args.build_mac_arm:
703703
xpy_args.extend(['--host', host_triple, '--target', host_triple])
704704

0 commit comments

Comments
 (0)