]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/bin/rustdoc.rs
Update browser-ui-test version to 0.9.8
[rust.git] / src / bootstrap / bin / rustdoc.rs
index 5f85fc5aa5903d0cbcc61bf265e1974ea7b20eaa..87c1d22e77146ec15473e99a3876f15091885ae4 100644 (file)
@@ -31,9 +31,7 @@ fn main() {
 
     let mut cmd = Command::new(rustdoc);
 
-    // cfg(bootstrap)
-    // NOTE: the `--test` special-casing can be removed when https://github.com/rust-lang/cargo/pull/10594 lands on beta.
-    if target.is_some() || args.iter().any(|x| x == "--test") {
+    if target.is_some() {
         // The stage0 compiler has a special sysroot distinct from what we
         // actually downloaded, so we just always pass the `--sysroot` option,
         // unless one is already set.