Skip to content

Commit

Permalink
Unrolled build for rust-lang#124888
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#124888 - GuillaumeGomez:migrate-rustdoc-output-path, r=jieyouxu

Migrate `run-make/rustdoc-output-path` to rmake

Part of rust-lang#121876.

r? ``@jieyouxu``
  • Loading branch information
rust-timer committed May 10, 2024
2 parents 66f8770 + 24d96fa commit cbe8293
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ run-make/rlib-format-packed-bundled-libs/Makefile
run-make/rmeta-preferred/Makefile
run-make/rustc-macro-dep-files/Makefile
run-make/rustdoc-io-error/Makefile
run-make/rustdoc-output-path/Makefile
run-make/rustdoc-scrape-examples-invalid-expr/Makefile
run-make/rustdoc-scrape-examples-macros/Makefile
run-make/rustdoc-scrape-examples-multiple/Makefile
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/rustdoc-output-path/Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions tests/run-make/rustdoc-output-path/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Checks that if the output folder doesn't exist, rustdoc will create it.

use run_make_support::{rustdoc, tmp_dir};

fn main() {
let out_dir = tmp_dir().join("foo/bar/doc");
rustdoc().input("foo.rs").output(&out_dir).run();
assert!(out_dir.exists());
}

0 comments on commit cbe8293

Please sign in to comment.