mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
8 lines
240 B
Rust
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();
|
|
}
|