blob: 3c1ccd3a06936dcb585521cd83dd5c723a94725d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Checks that if the output folder doesn't exist, rustdoc will create it.
use std::path::Path;
use run_make_support::rustdoc;
fn main() {
let out_dir = Path::new("foo/bar/doc");
rustdoc().input("foo.rs").output(&out_dir).run();
assert!(out_dir.exists());
}
|