-
Notifications
You must be signed in to change notification settings - Fork 543
rewrite bootstrapping stages #1650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rewrite bootstrapping stages #1650
Conversation
* make date-check lightweight This avoids having to write the date twice when updating date-check. Before "As of <-- 2022-07 --> July 2022" After "As of July 2022" * please clippy * update date-check docs * accept review suggestion Co-authored-by: Noah Lev <[email protected]> * address review comment rust-lang#1394 (review) * accept review suggestion Co-authored-by: Noah Lev <[email protected]> * address review comment rust-lang#1394 (review) * address review comment rust-lang#1394 (comment) * this breaks markdown * address review comment rust-lang#1394 (comment) This led to a more robust regex, though making the tool more picky. It also found a wrong date format that was missed. * address review comment rust-lang#1394 (comment) * address review comment rust-lang#1394 (comment) * accept review suggestion This was reverted by mistake Co-authored-by: Noah Lev <[email protected]> * address review comment rust-lang#1394 (comment) * use a more simple fn * address review comment rust-lang#1394 (comment) Much more clean * nit * accept review suggestion Co-authored-by: Noah Lev <[email protected]> * avoid a failed regex Also, test new shape * adjust to new regex (which uses named groups) New regex was introduced by 456008c Co-authored-by: Noah Lev <[email protected]>
This diagram is based on the diagram in Joshua Nelson's talk on bootstrapping at RustConf 2022 [1]. I converted it to Mermaid and made some tweaks to simplify it and bring it closer to bootstrap's terminology, and then Ralf Jung added nodes for copying artifacts. [1]: https://rustconf.com/schedule#bootstrapping-the-once-and-future-compiler Co-authored-by: Joshua Nelson <[email protected]> Co-authored-by: Ralf Jung <[email protected]>
Co-authored-by: Noah Lev <[email protected]>
Also, make link to upstream llvm repo clickable
* fix incorrect #[note] syntax * more syntax fixes * add missing lifetime
One could not run it like the following, for the would be a panic: cargo run --manifest-path ci/date-check/Cargo.toml . Also, remove the need to specify argument, in which case, current_dir is assumed.
Signed-off-by: Yuki Okushi <[email protected]>
This file was moved in rust-lang/rust#108618
Co-authored-by: Yuki Okushi <[email protected]>
Sorry, due to me messing up a git operation, we sadly had to force-push the whole commit history of rustc-dev-guide :( If you'd like to update this pull request, you will have to rebase it in a special way onto the new commit history (the new
More context can be found here. |
Thanks for the PR, unfortunately we'll be making some substantial changes to the staging logic in rust-lang/rust#119899, so I'm closing this for now. |
Following from #1458.
This may be too much to review.
So I will extract smaller pull requests from it and rebase as they are merged.
The first of them, #1555, is already merged (thank you!).
This will remain a draft until it is small enough to be reviewed.