Uh oh!
There was an error while loading. Please reload this page.
bootstrap: remove lldb dist packaging - #72058
Conversation
rust-highfive
commented
May 9, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
Mark-Simulacrum
commented
May 9, 2020
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 |
RalfJung
commented
May 10, 2020
@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": |
Uh oh!
There was an error while loading. Please reload this page.
Mark-Simulacrum
commented
May 10, 2020
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. |
mati865
commented
May 10, 2020
Looks like bors didn't work. |
Mark-Simulacrum
commented
May 10, 2020
I guess I was too fancy. I'll give it its own paragraph? @bors try |
bors
commented
May 10, 2020
⌛ Trying commit d41fd4482c78298c188eab7e71d2b3f8b9b349d0 with merge dd0ed6d6598328dfc60f4bdcd00eacd20db6e3ca... |
bors
commented
May 10, 2020
☀️ Try build successful - checks-actions, checks-azure |
RalfJung
commented
May 10, 2020
@Mark-Simulacrum do I have to check the logs of that try build or is a pass enough? |
Mark-Simulacrum
commented
May 10, 2020
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
RalfJung
commented
May 10, 2020
Done that. |
Mark-Simulacrum
commented
May 10, 2020
@bors r+ Thanks! |
bors
commented
May 10, 2020
📌 Commit dc7524b has been approved by |
Dylan-DPC-zz
commented
May 14, 2020
@bors p=1 |
bors
commented
May 14, 2020
bors
commented
May 14, 2020
☀️ Test successful - checks-actions, checks-azure |
eddyb
commented
May 28, 2020
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. |
Mark-Simulacrum
commented
May 28, 2020
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. |
eddyb
commented
May 28, 2020
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. |
eddyb
commented
May 29, 2020
Interesting, I've tried lldb 7 through 10 and only 10 actually passed all tests. Bonus: |
RalfJung
commented
May 29, 2020
@eddyb to be clear, you were not using anything dist-related, right? That at looked like long dead code. |
eddyb
commented
May 29, 2020
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/.