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