rust/tests/run-make/rustdoc-with-out-dir-option/rmake.rs
2024-08-15 15:44:29 +02:00

8 lines
240 B
Rust

use run_make_support::{htmldocck, rustdoc};
fn main() {
let out_dir = "rustdoc";
rustdoc().input("src/lib.rs").crate_name("foobar").crate_type("lib").out_dir(&out_dir).run();
htmldocck().arg(out_dir).arg("src/lib.rs").run();
}