Skip to content

Delete the stage1 and stage0-sysroot directories when using download-rustc #102025

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

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

chenyukang
Copy link
Member

Fixes #102002

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Sep 19, 2022
@rust-highfive
Copy link
Contributor

r? @jyn514

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 19, 2022
@jyn514 jyn514 added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 2, 2022
@jyn514
Copy link
Member

jyn514 commented Oct 2, 2022

Thanks for your PR and sorry for the delay. I've changed my mind about the best way to improve the experience here, I left a suggestion as a comment. Sorry for the churn.

@chenyukang chenyukang changed the title Delete the stage1 and stage0-sysroot directories when using download-rustc Use ci-rustc-sysroot for sysroot when using download-rustc Oct 4, 2022
Copy link
Member

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I was unclear, sorry - this change is good, but I wanted to keep your code deleting the stage1 and stage0-sysroot, so people don't use them by accident.

@chenyukang chenyukang changed the title Use ci-rustc-sysroot for sysroot when using download-rustc Delete the stage1 and stage0-sysroot directories when using download-rustc Oct 4, 2022
@chenyukang
Copy link
Member Author

Thanks! I was unclear, sorry - this change is good, but I wanted to keep your code deleting the stage1 and stage0-sysroot, so people don't use them by accident.

Ah, I just forgetted the original idea of this issue 🤣
updated the code.

@jyn514
Copy link
Member

jyn514 commented Oct 6, 2022

Thanks!

@bors r+

@jyn514 jyn514 closed this Oct 6, 2022
@bors
Copy link
Collaborator

bors commented Oct 6, 2022

📌 Commit 60b39ba has been approved by jyn514

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 6, 2022
@jyn514 jyn514 reopened this Oct 6, 2022
@jyn514
Copy link
Member

jyn514 commented Oct 6, 2022

bors seems confused on https://bors.rust-lang.org/queue/rust ...

@bors r- r+

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 6, 2022
@bors
Copy link
Collaborator

bors commented Oct 6, 2022

📌 Commit 60b39ba has been approved by jyn514

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 6, 2022
@bors
Copy link
Collaborator

bors commented Oct 7, 2022

⌛ Testing commit 60b39ba with merge e42c4d7...

@bors
Copy link
Collaborator

bors commented Oct 7, 2022

☀️ Test successful - checks-actions
Approved by: jyn514
Pushing e42c4d7 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 7, 2022
@bors bors merged commit e42c4d7 into rust-lang:master Oct 7, 2022
@rustbot rustbot added this to the 1.66.0 milestone Oct 7, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (e42c4d7): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean1 range count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.5% [-1.0%, -0.2%] 3
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1 range count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.2% [2.0%, 2.3%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.2% [-3.2%, -3.2%] 1
All ❌✅ (primary) - - 0

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1 range count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.1% [3.1%, 3.1%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Footnotes

  1. the arithmetic mean of the percent change 2 3

  2. number of relevant changes 2 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-download-rustc Area: The `rust.download-rustc` build option. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete the stage1 and stage0-sysroot directories when using download-rustc
6 participants