]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/test.rs
Rollup merge of #104774 - vojtechkral:doc-str-empty-split-whitespace, r=thomcc
[rust.git] / src / bootstrap / test.rs
index b22b7ad4ae04a7b28ed8e1cd347d78eff9754e50..38873cee93bd982475849358869314fca0a41eac 100644 (file)
@@ -1011,6 +1011,8 @@ fn run(self, builder: &Builder<'_>) {
                 //        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);
             }