We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
run-make/rustdoc-map-file
1 parent 25e3949 commit 913f83fCopy full SHA for 913f83f
tests/run-make/rustdoc-map-file/Makefile
tests/run-make/rustdoc-map-file/rmake.rs
@@ -0,0 +1,14 @@
1
+use run_make_support::{rustdoc, tmp_dir};
2
+use std::process::Command;
3
+
4
+fn main() {
5
+ let out_dir = tmp_dir().join("out");
6
+ rustdoc()
7
+ .input("foo.rs")
8
+ .arg("-Zunstable-options")
9
+ .arg("--generate-redirect-map")
10
+ .output(&out_dir)
11
+ .run();
12
+ assert!(
13
+ Command::new("python").arg("validate_json.py").arg(&out_dir).status().unwrap().success());
14
+}
0 commit comments