-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Remove DebbugerScripts from bootstrap CLI #96310
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon. Please see the contribution instructions for more information. |
src/bootstrap/dist.rs
Outdated
@@ -456,7 +456,7 @@ impl Step for DebuggerScripts { | |||
type Output = (); | |||
|
|||
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { | |||
run.path("src/etc/lldb_batchmode.py") | |||
run.never() | |||
} | |||
|
|||
fn make_run(run: RunConfig<'_>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can delete make_run if should_run is run.never() I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a while to grasp what this would mean but I think I agree. I've removed the function in a fixup. The default implementation should suffice.
r=me with a little more cleanup done :) |
c02c617
to
072b4c2
Compare
@bertptrs I suspect Mark will want you to squash the two commits, it would save time if you went ahead and did it now. There are instructions at https://rustc-dev-guide.rust-lang.org/git.html#advanced-rebasing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with commits squashed
072b4c2
to
02d41b8
Compare
Done |
@bors r+ |
📌 Commit 02d41b8 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5428983): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
This PR implements #95992 and removes the debugger scripts from the bootstrap CLI.
I could not find a lot of documentation on the bootstrap binary so perhaps there's still some documentation to be updated.