rust/tests/run-make/rustdoc-map-file/rmake.rs
2024-06-11 09:14:28 +00:00

14 lines
382 B
Rust

use run_make_support::{python_command, rustdoc};
fn main() {
let out_dir = "out";
rustdoc()
.input("foo.rs")
.arg("-Zunstable-options")
.arg("--generate-redirect-map")
.output(&out_dir)
.run();
// FIXME (GuillaumeGomez): Port the python script to Rust as well.
python_command().arg("validate_json.py").arg(&out_dir).run();
}