-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Summary
I want to know what arguments I can use with bootstrap. In a fresh checkout, that takes a while.
We can avoid this as follows:
- Save the output of
x --help
to a file. - In the python wrapper, print that file if it exists.
- In CI, bypass the python wrapper and check that the file is up-to-date.
Command used
./x --help
Expected behaviour
I see help output almost immediately.
Actual behaviour
INFO: Downloading and building bootstrap before processing --help command.
See src/bootstrap/README.md for help with common commands.
downloading https://static.rust-lang.org/dist/2025-05-26/rust-std-beta-x86_64-unknown-linux-gnu.tar.xz
...
Bootstrap configuration (bootstrap.toml)
(empty)
Operating system
WSL running Ubuntu 24.04 on Windows 11
HEAD
Additional context
Build Log
<log>
@rustbot label I-slow
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)