-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve startup time for bootstrap.py
- Loading branch information
Showing
1 changed file
with
44 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem I have is it compiles 64bit but fails on -m32bit builds .. works when I use the old bootstrap.py ..,
Traceback (most recent call last):
File "/tmp/A/build32/rustc-1.71.0-src/./x.py", line 32, in
bootstrap.main()
File "/tmp/A/build32/rustc-1.71.0-src/src/bootstrap/bootstrap.py", line 1079, in main
bootstrap(args)
File "/tmp/A/build32/rustc-1.71.0-src/src/bootstrap/bootstrap.py", line 1037, in bootstrap
build.build = args.build or build.build_triple()
^^^^^^^^^^^^^^^^^^^^
File "/tmp/A/build32/rustc-1.71.0-src/src/bootstrap/bootstrap.py", line 929, in build_triple
return config or default_build_triple(self.verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/A/build32/rustc-1.71.0-src/src/bootstrap/bootstrap.py", line 259, in default_build_triple
kernel, cputype, processor = uname.decode(default_encoding).split()
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 3)
I think when its doing the part for win32 its not doing the exit=required) or something..