Skip to content

Commit 59dab66

Browse files
Migrate run-make/rustdoc-target-spec-json-path to rmake
1 parent eea00ca commit 59dab66

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

tests/run-make/rustdoc-target-spec-json-path/Makefile

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Test that rustdoc will properly canonicalize the target spec json path just like rustc.
2+
3+
use run_make_support::{rustc, rustdoc, tmp_dir};
4+
5+
fn main() {
6+
let out_dir = tmp_dir().join("rustdoc-target-spec-json-path");
7+
rustc().crate_type("lib").input("dummy_core.rs").target("target.json").run();
8+
rustdoc()
9+
.input("my_crate.rs")
10+
.output(out_dir)
11+
.arg("-L")
12+
.arg(tmp_dir())
13+
.target("target.json")
14+
.run();
15+
}

0 commit comments

Comments
 (0)