about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-map-file/rmake.rs
blob: 08f9595ef9f6aebb50b6472616a1a8a71e39b8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
}