blob: fe9587f5022282a6b57b3d876d9f5e2d6bab77b5 [file] [log] [blame] [edit]
// Test that rustdoc will properly canonicalize the target spec json path just like rustc.
use run_make_support::{cwd, rustc, rustdoc};
fn main() {
let out_dir = "rustdoc-target-spec-json-path";
rustc().crate_type("lib").input("dummy_core.rs").target("target.json").run();
rustdoc()
.input("my_crate.rs")
.out_dir(out_dir)
.library_search_path(cwd())
.target("target.json")
.run();
}