You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature-gate #[doc(cfg)] in generated code behind published_docs cfg
Will be used for our website's API docs and later crates.io.
Needed because generated code in /target cannot be modified by tools like sed/sd anymore; this
would re-run rustdoc. Instead, the code generator is already aware of any #[doc(cfg)] statements
ending up in the output code. It gates them behind a --cfg that's enabled by the website CI.
0 commit comments