rust/tests/run-make/rustdoc-output-path/rmake.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
255 B
Rust
Raw Normal View History

// Checks that if the output folder doesn't exist, rustdoc will create it.
use run_make_support::{path, rustdoc};
fn main() {
let out_dir = path("foo/bar/doc");
2024-08-15 07:44:48 -05:00
rustdoc().input("foo.rs").out_dir(&out_dir).run();
assert!(out_dir.exists());
}