Skip to content

Commit aa68901

Browse files
authored
Rollup merge of #124888 - GuillaumeGomez:migrate-rustdoc-output-path, r=jieyouxu
Migrate `run-make/rustdoc-output-path` to rmake Part of #121876. r? ``@jieyouxu``
2 parents 1ae0d90 + 24d96fa commit aa68901

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ run-make/rlib-format-packed-bundled-libs/Makefile
245245
run-make/rmeta-preferred/Makefile
246246
run-make/rustc-macro-dep-files/Makefile
247247
run-make/rustdoc-io-error/Makefile
248-
run-make/rustdoc-output-path/Makefile
249248
run-make/rustdoc-scrape-examples-invalid-expr/Makefile
250249
run-make/rustdoc-scrape-examples-macros/Makefile
251250
run-make/rustdoc-scrape-examples-multiple/Makefile

tests/run-make/rustdoc-output-path/Makefile

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Checks that if the output folder doesn't exist, rustdoc will create it.
2+
3+
use run_make_support::{rustdoc, tmp_dir};
4+
5+
fn main() {
6+
let out_dir = tmp_dir().join("foo/bar/doc");
7+
rustdoc().input("foo.rs").output(&out_dir).run();
8+
assert!(out_dir.exists());
9+
}

0 commit comments

Comments
 (0)