mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rollup merge of #137693 - aDotInTheVoid:gaming, r=onur-ozkan,GuillaumeGomez
Re-enable `--generate-link-to-defintion` for tools internal rustdoc
~~These were removed because they used to break the build: https://github.com/rust-lang/rust/pull/122066#issuecomment-1983049222, but testing locally it seems to work now.~~
This was re enabled in #136589, but only for rustc, not tools.
The FIXME that prompted removing this is still present. Do we have an issue with an MCVE for this? CC ```@GuillaumeGomez```
ac91805f31/src/librustdoc/html/render/span_map.rs (L178-L182)
try-job: aarch64-apple
This commit is contained in:
commit
9e1ead6492
@ -987,9 +987,7 @@ macro_rules! tool_doc {
|
||||
cargo.rustdocflag("-Arustdoc::private-intra-doc-links");
|
||||
cargo.rustdocflag("--enable-index-page");
|
||||
cargo.rustdocflag("--show-type-layout");
|
||||
// FIXME: `--generate-link-to-definition` tries to resolve cfged out code
|
||||
// see https://github.com/rust-lang/rust/pull/122066#issuecomment-1983049222
|
||||
// cargo.rustdocflag("--generate-link-to-definition");
|
||||
cargo.rustdocflag("--generate-link-to-definition");
|
||||
|
||||
let out_dir = builder.stage_out(compiler, Mode::ToolRustc).join(target).join("doc");
|
||||
$(for krate in $crates {
|
||||
|
Loading…
Reference in New Issue
Block a user