Skip to content

Commit 5c0c0f4

Browse files
committed
Remove obsolete RustcGuide bootstrap step
It was not working for a long time.
1 parent 59d5328 commit 5c0c0f4

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

Diff for: src/bootstrap/src/core/build_steps/test.rs

-29
Original file line numberDiff line numberDiff line change
@@ -2525,35 +2525,6 @@ fn markdown_test(builder: &Builder<'_>, compiler: Compiler, markdown: &Path) ->
25252525
}
25262526
}
25272527

2528-
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
2529-
pub struct RustcGuide;
2530-
2531-
impl Step for RustcGuide {
2532-
type Output = ();
2533-
const DEFAULT: bool = false;
2534-
const ONLY_HOSTS: bool = true;
2535-
2536-
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
2537-
run.path("src/doc/rustc-dev-guide")
2538-
}
2539-
2540-
fn make_run(run: RunConfig<'_>) {
2541-
run.builder.ensure(RustcGuide);
2542-
}
2543-
2544-
fn run(self, builder: &Builder<'_>) {
2545-
let relative_path = "src/doc/rustc-dev-guide";
2546-
builder.require_submodule(relative_path, None);
2547-
2548-
let src = builder.src.join(relative_path);
2549-
let mut rustbook_cmd = builder.tool_cmd(Tool::Rustbook).delay_failure();
2550-
rustbook_cmd.arg("linkcheck").arg(&src);
2551-
let toolstate =
2552-
if rustbook_cmd.run(builder) { ToolState::TestPass } else { ToolState::TestFail };
2553-
builder.save_toolstate("rustc-dev-guide", toolstate);
2554-
}
2555-
}
2556-
25572528
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
25582529
pub struct CrateLibrustc {
25592530
compiler: Compiler,

Diff for: src/bootstrap/src/core/builder/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,6 @@ impl<'a> Builder<'a> {
951951
test::UnstableBook,
952952
test::RustcBook,
953953
test::LintDocs,
954-
test::RustcGuide,
955954
test::EmbeddedBook,
956955
test::EditionGuide,
957956
test::Rustfmt,

0 commit comments

Comments
 (0)