-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rustdoc: Use the extern item-path for documentation links #30149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
I used a run-make test because docs for the extern crate need to be generated beforehand, otherwise the cross-crate link isn't being generated. |
Could this perhaps be a |
This flag causes the documentation for all `aux-build` files to be built, which happens prior to running/building the parent test.
bd1bedd
to
5496588
Compare
The local item-path includes the local crates path to the extern crate declaration which breaks cross-crate rustdoc links if the extern crate is not linked into the crate root or renamed via `extern foo as bar`.
(updated) |
I missed this in #30149 fixes #30198 r? @alexcrichton
Fixes #30109