about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-11-19 17:42:07 -0700
committerMichael Howell <michael@notriddle.com>2022-11-19 17:42:07 -0700
commitaa5a0c0d88eceb2bb55bdc7a39ffc6adc7a22881 (patch)
tree81aa295c1ea6c634895ee31e58c04f77cce17e78 /src/bootstrap
parentae27c790ff235a4110b559223aa8483e97d38929 (diff)
downloadrust-aa5a0c0d88eceb2bb55bdc7a39ffc6adc7a22881.tar.gz
rust-aa5a0c0d88eceb2bb55bdc7a39ffc6adc7a22881.zip
rustdoc: add test case for scraped example expand GUI
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index fd362b8367c..db83cda3700 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1011,6 +1011,8 @@ impl Step for RustdocGUI {
                 //        instead of hard-coding this test
                 if entry.file_name() == "link_to_definition" {
                     cargo.env("RUSTDOCFLAGS", "-Zunstable-options --generate-link-to-definition");
+                } else if entry.file_name() == "scrape_examples" {
+                    cargo.arg("-Zrustdoc-scrape-examples=examples");
                 }
                 builder.run(&mut cargo);
             }