Skip to content

Commit 5428983

Browse files
committed
Auto merge of #96310 - bertptrs:remove-debugger-bootstrap, r=Mark-Simulacrum
Remove DebbugerScripts from bootstrap CLI 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.
2 parents 6b6c1ff + 02d41b8 commit 5428983

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/bootstrap/builder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,6 @@ impl<'a> Builder<'a> {
614614
dist::RustcDocs,
615615
dist::Mingw,
616616
dist::Rustc,
617-
dist::DebuggerScripts,
618617
dist::Std,
619618
dist::RustcDev,
620619
dist::Analysis,

src/bootstrap/dist.rs

+1-10
Original file line numberDiff line numberDiff line change
@@ -456,16 +456,7 @@ impl Step for DebuggerScripts {
456456
type Output = ();
457457

458458
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
459-
run.path("src/etc/lldb_batchmode.py")
460-
}
461-
462-
fn make_run(run: RunConfig<'_>) {
463-
run.builder.ensure(DebuggerScripts {
464-
sysroot: run
465-
.builder
466-
.sysroot(run.builder.compiler(run.builder.top_stage, run.build_triple())),
467-
host: run.target,
468-
});
459+
run.never()
469460
}
470461

471462
/// Copies debugger scripts for `target` into the `sysroot` specified.

0 commit comments

Comments
 (0)