From 02d41b8f0da25c89b44acb64b354fa406c3417ee Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Fri, 22 Apr 2022 08:49:58 +0200 Subject: [PATCH] Remove DebbugerScripts from bootstrap CLI --- src/bootstrap/builder.rs | 1 - src/bootstrap/dist.rs | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 965e66880f4..ed8d23e1618 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -603,7 +603,6 @@ macro_rules! describe { dist::RustcDocs, dist::Mingw, dist::Rustc, - dist::DebuggerScripts, dist::Std, dist::RustcDev, dist::Analysis, diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index e3287e35227..b6523de4433 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -456,16 +456,7 @@ impl Step for DebuggerScripts { type Output = (); fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { - run.path("src/etc/lldb_batchmode.py") - } - - fn make_run(run: RunConfig<'_>) { - run.builder.ensure(DebuggerScripts { - sysroot: run - .builder - .sysroot(run.builder.compiler(run.builder.top_stage, run.build_triple())), - host: run.target, - }); + run.never() } /// Copies debugger scripts for `target` into the `sysroot` specified.