about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-22 07:37:48 +0900
committerGitHub <noreply@github.com>2021-06-22 07:37:48 +0900
commit7dca2e276df7f2babce704f9b757bcfdb788fee1 (patch)
treef93eb03573978b1d2553dfd0764d47ae40042c81 /src/bootstrap
parent7ee6b8bc439501e8690af80b9995aa53c856e9e8 (diff)
parent95c1bf60005085a5c83cc63b33319d6b484a704a (diff)
downloadrust-7dca2e276df7f2babce704f9b757bcfdb788fee1.tar.gz
rust-7dca2e276df7f2babce704f9b757bcfdb788fee1.zip
Rollup merge of #86297 - GuillaumeGomez:rustdoc-gui-args, r=Mark-Simulacrum
Allow to pass arguments to rustdoc-gui tool

Very convenient for testing. This is another part of https://github.com/rust-lang/rust/pull/86293

cc ``@jsha``
r? ``@Mark-Simulacrum``
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 93ba8b07f5b..92ac3b364f6 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -894,6 +894,9 @@ impl Step for RustdocGUI {
                 }
             }
         }
+        for test_arg in builder.config.cmd.test_args() {
+            command.arg(test_arg);
+        }
         builder.run(&mut command);
     }
 }