-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
bootstrap: remove lldb dist packaging #72058
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
LLDB was disabled in #62592, nearly a year ago. My guess is since I haven't seen anything since then suggesting re-enabling it we can also remove support (can always resurrect the small amount of support left from git history anyway). I think we'll want to remove the options related to lldb as well; probably the best way to do that is to remove the lldb_enabled on config and then handle rustc errors from there. We'll also want to drop the configure.py |
@Mark-Simulacrum okay, I did that. And then in the last commit I removed some more things that looked outdated, but I am not sure I understand enough of this so please check carefully. Remaining occurrences of "lldb":
|
Okay, this looks good to me. Let's kick off a try build to make sure at least one dist builder works (@bors try). Presuming that passes and you squash the commits down, r=me. |
Looks like bors didn't work. |
I guess I was too fancy. I'll give it its own paragraph? @bors try |
⌛ Trying commit d41fd4482c78298c188eab7e71d2b3f8b9b349d0 with merge dd0ed6d6598328dfc60f4bdcd00eacd20db6e3ca... |
☀️ Try build successful - checks-actions, checks-azure |
@Mark-Simulacrum do I have to check the logs of that try build or is a pass enough? |
Pass is fine. If you can squash the commits then I think we can land it. |
it's not been built since a long time ago
Done that. |
@bors r+ Thanks! |
📌 Commit dc7524b has been approved by |
@bors p=1 |
☀️ Test successful - checks-actions, checks-azure |
Uhh, I was using this in order to run (the lldb side of) debuginfo tests. Am I supposed to switch to whatever other lldb I have access to? I recall that not working last time, hence dealing with local builds. |
Hm if that's not working I'm not opposed to restoring this to some extent -- I think it does make sense to drop the dist bits but we can revert the "build" bits. |
Will report back with the results of trying to use NixOS-provided lldb, once I can confirm that Well, the other reason for the local build was testing the new demangler (see #60705), but I likely can easily build a patched copy of lldb just through NixOS so that isn't as big of a concern. |
Interesting, I've tried lldb 7 through 10 and only 10 actually passed all tests. Bonus: |
@eddyb to be clear, you were not using anything dist-related, right? That at looked like long dead code. |
Yeah I was just using the local build, and only for debuginfo tests ( But at least now that I know I can just use lldb 10, it's less trouble to do that. |
The lldb-preview rustup package is missing on every single target, and has never been shipped beyond x86_64-apple-darwin. It was removed in #62592 which landed around a year ago, and there's not been demand that we re-enable it since, so we're now removing support entirely to cleanup the code a bit.
The hope is that this will also kill the useless "lldb-preview" row on https://rust-lang.github.io/rustup-components-history/.