X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Ftest.rs;h=38873cee93bd982475849358869314fca0a41eac;hb=d4e5418b0c787cad2994548c3327b0de38a55506;hp=b22b7ad4ae04a7b28ed8e1cd347d78eff9754e50;hpb=3e937d02a012dbce129cc7773517a9bb24f5bf93;p=rust.git diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index b22b7ad4ae0..38873cee93b 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -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); }