-
Couldn't load subscription status.
- Fork 13.9k
rustdoc: remove --emit=unversioned-shared-resources
#148180
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
base: master
Are you sure you want to change the base?
Conversation
|
rustbot has assigned @GuillaumeGomez. Use |
This option hasn't done anything for a long time, and can be removed. I've kept a shim in place to avoid breaking docs.rs, but the option no longer does anything. Using git-blame, I tracked this option down to f77ebd4, the commit that introduced EmitType in the first place. It was used with SharedResource::Unversioned, which no longer exists since f9e1f6f removed them. CC rust-lang#146220 Part of rust-lang#83784
f3ebb35 to
87c8068
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not on t-rustdoc but I did pretty much the same investigation in #146220, and got the same result as Michael's.
Thanks for this!
| for kind in list.split(',') { | ||
| if kind == "unversioned-shared-resources" { | ||
| if !nightly_options::is_unstable_enabled(matches) { | ||
| // Remove this as soon as docs.rs stops using it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe first remove it from docs.rs? Like that we don't need to keep it around.
This option hasn't done anything for a long time, and can be removed. I've kept a shim in place to avoid breaking docs.rs, but the option no longer does anything.
Using git-blame, I tracked this option down to
f77ebd4, the commit that introduced EmitType in the first place. It was used with SharedResource::Unversioned, which no longer exists since f9e1f6f removed them.
CC #146220
Part of #83784