diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-12 15:17:33 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-12 20:07:10 +0200 |
| commit | 6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9 (patch) | |
| tree | b0a40303f42342460a0eb9673d8b2be2fdceebe8 /src/bootstrap | |
| parent | bf6582e0cc9c1fbeb274bd496c8077e94d26adc4 (diff) | |
| download | rust-6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9.tar.gz rust-6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9.zip | |
Add/update tests for `--extend-css` option
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index f9c5837b7d6..e4e4f938528 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1064,6 +1064,8 @@ impl Step for RustdocGUI { cargo.env("RUSTDOCFLAGS", "-Zunstable-options --generate-link-to-definition"); } else if entry.file_name() == "scrape_examples" { cargo.arg("-Zrustdoc-scrape-examples"); + } else if entry.file_name() == "extend_css" { + cargo.env("RUSTDOCFLAGS", &format!("--extend-css extra.css")); } builder.run(&mut cargo); } |
