diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-09-13 21:20:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 21:20:41 +0200 |
| commit | f10fc2152b4c661e3b59504abff28d22d7345ee0 (patch) | |
| tree | d9bb1c69a4f44e12b428b399ca1230954ea81164 /src/bootstrap | |
| parent | c0e7f7edeae80c3b8b76ef573751d416d89da4d7 (diff) | |
| parent | 9e482c1add7e02ef3367caa96909e32bf8cdcaf6 (diff) | |
| download | rust-f10fc2152b4c661e3b59504abff28d22d7345ee0.tar.gz rust-f10fc2152b4c661e3b59504abff28d22d7345ee0.zip | |
Rollup merge of #88885 - GuillaumeGomez:fix-jump-def-background, r=camelid
Fix jump def background Fixes #88870. I somehow badly wrote the color in #88111. r? ``@camelid``
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index d12e86b7c1d..386ffb384a8 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -925,6 +925,11 @@ impl Step for RustdocGUI { .env("RUSTDOC", builder.rustdoc(self.compiler)) .env("RUSTC", builder.rustc(self.compiler)) .current_dir(path); + // FIXME: implement a `// compile-flags` command or similar + // instead of hard-coding this test + if entry.file_name() == "link_to_definition" { + cargo.env("RUSTDOCFLAGS", "-Zunstable-options --generate-link-to-definition"); + } builder.run(&mut cargo); } } |
