We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
run-make/rustdoc-target-spec-json-path
1 parent eea00ca commit 59dab66Copy full SHA for 59dab66
tests/run-make/rustdoc-target-spec-json-path/Makefile
tests/run-make/rustdoc-target-spec-json-path/rmake.rs
@@ -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