-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Generate macro expansion for rust compiler crates docs #151092
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: main
Are you sure you want to change the base?
Generate macro expansion for rust compiler crates docs #151092
Conversation
This comment has been minimized.
This comment has been minimized.
|
Unfortunately it seems to still ICE :( EDIT: oh, that's against the beta rustdoc. Do we need to wait until the next release when nightly rustdoc gets promoted to beta? |
|
Oh a new bug. Perfect! =D |
Wait really? That's super weird. Let me check a bit if I can reproduce locally. |
|
I can reproduce locally so I think we found a new bug, perfect. =D |
|
Just checked locally and rediscovered that stage 1 compiler docs uses beta rustdoc. So stage 2 works just fine. Well, nothing else to be done except waiting for new release (which is in less than 2 weeks so it's fine 😄). |
This comment has been minimized.
This comment has been minimized.
…lds higher than 1
b545b49 to
e79792c
Compare
|
CI passed! \o/ Thanks a lot @bjorn3 for the idea! |
| // If there is any bug, please comment out the next line. | ||
| cargo.rustdocflag("--generate-link-to-definition"); | ||
| // FIXME: Currently, `--generate-macro-expansion` option is buggy in `beta` rustdoc. To | ||
| // allow CI to pass, we only enable the option in stage 2 and higher. |
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 add cfg(bootstrap) to this comment to remind someone to remove it in the bootstrap bump PR.
Re-enable #150022, which was disabled in #149831 because some fixes hadn't been merged then.
r? @jieyouxu