We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8705d commit 2db56c6Copy full SHA for 2db56c6
src/bootstrap/bin/rustdoc.rs
@@ -69,6 +69,17 @@ fn main() {
69
.arg("unstable-options");
70
}
71
cmd.arg("--generate-redirect-pages");
72
+ has_unstable = true;
73
+ }
74
+
75
+ // Needed to be able to run all rustdoc tests.
76
+ if let Some(ref x) = env::var_os("RUSTDOC_RESOURCE_SUFFIX") {
77
+ // This "unstable-options" can be removed when `--resource-suffix` is stabilized
78
+ if !has_unstable {
79
+ cmd.arg("-Z")
80
+ .arg("unstable-options");
81
82
+ cmd.arg("--resource-suffix").arg(x);
83
84
85
if verbose > 1 {
0 commit comments