2024-06-06 14:34:34 -05:00
|
|
|
use run_make_support::{python_command, rustdoc};
|
2024-05-07 03:31:58 -05:00
|
|
|
|
|
|
|
fn main() {
|
2024-06-06 14:34:34 -05:00
|
|
|
let out_dir = "out";
|
2024-05-07 03:31:58 -05:00
|
|
|
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.
|
2024-06-09 10:45:57 -05:00
|
|
|
python_command().arg("validate_json.py").arg(&out_dir).run();
|
2024-05-07 03:31:58 -05:00
|
|
|
}
|