Skip to content

Commit

Permalink
Migrate run-make/rustdoc-output-path to rmake
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 8, 2024
1 parent e3029d2 commit 651906d
Show file tree
Hide file tree
Showing 3 changed files with 7 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 @@ -246,7 +246,6 @@ run-make/rmeta-preferred/Makefile
run-make/rustc-macro-dep-files/Makefile
run-make/rustdoc-io-error/Makefile
run-make/rustdoc-map-file/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.

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

use run_make_support::{rustdoc, tmp_dir};

fn main() {
rustdoc().input("foo.rs").output(tmp_dir().join("foo/bar/doc")).run();
}

0 comments on commit 651906d

Please sign in to comment.