Skip to content

Commit 44a71e2

Browse files
committed
Rollup merge of rust-lang#49908 - chrisccoulson:fix-rustdoc-themes-test-without-rpath, r=Mark-Simulacrum
Fix test failure in src/tools/rustdoc-themes when rust.rpath = false See rust-lang#49907
2 parents 070a771 + 6f10146 commit 44a71e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ impl Step for RustdocTheme {
459459
}
460460

461461
fn run(self, builder: &Builder) {
462-
let rustdoc = builder.rustdoc(self.compiler.host);
462+
let rustdoc = builder.out.join("bootstrap/debug/rustdoc");
463463
let mut cmd = builder.tool_cmd(Tool::RustdocTheme);
464464
cmd.arg(rustdoc.to_str().unwrap())
465465
.arg(builder.src.join("src/librustdoc/html/static/themes").to_str().unwrap())

0 commit comments

Comments
 (0)