Skip to content
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

rustdoc should support --cfg #10623

Closed
thestinger opened this issue Nov 23, 2013 · 4 comments · Fixed by #10644
Closed

rustdoc should support --cfg #10623

thestinger opened this issue Nov 23, 2013 · 4 comments · Fixed by #10644
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@thestinger
Copy link
Contributor

I use the libc configuration flag to isolate functionality unavailable for freestanding Rust in rust-core, and this means a lot of stuff is missing from the generated documentation.

@klutzy
Copy link
Contributor

klutzy commented Nov 23, 2013

I actually hope something more: cfg-dependent items.
For example, std::path currently shows pub use self::posix::Path; but it would be better if it shows that Path is sometimes self::posix::Path and some other times self::windows::Path.

@emberian
Copy link
Member

@klutzy that is the subject of #1998

@vhbit
Copy link
Contributor

vhbit commented Oct 6, 2014

@cmr is handling of --cfg feature=some_feat a part of this issue or #1998?

@emberian
Copy link
Member

emberian commented Oct 6, 2014

@vhbit #1998

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants