]> git.proxmox.com Git - rustc.git/blobdiff - src/bootstrap/bin/rustdoc.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / bootstrap / bin / rustdoc.rs
index 04345867bf5c185e21155a195f48665710adfe8b..ba644e611182779520548a59fd96ee7e2febb735 100644 (file)
@@ -52,12 +52,7 @@ fn main() {
     // Bootstrap's Cargo-command builder sets this variable to the current Rust version; let's pick
     // it up so we can make rustdoc print this into the docs
     if let Some(version) = env::var_os("RUSTDOC_CRATE_VERSION") {
-        // This "unstable-options" can be removed when `--crate-version` is stabilized
-        if !has_unstable {
-            cmd.arg("-Z").arg("unstable-options");
-        }
         cmd.arg("--crate-version").arg(version);
-        has_unstable = true;
     }
 
     // Needed to be able to run all rustdoc tests.