Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rustdoc seems to ignore --cfg feature=foo #30252

Closed
durka opened this issue Dec 7, 2015 · 0 comments
Closed

rustdoc seems to ignore --cfg feature=foo #30252

durka opened this issue Dec 7, 2015 · 0 comments

Comments

@durka
Copy link
Contributor

durka commented Dec 7, 2015

Here is a minimal crate with a no-op feature. It seems the feature is accessible in regular tests but not in doc-tests.

Originally I figured this was a Cargo bug, but that one is closed and as seen in the output above, Cargo is passing the flag to rustdoc, so I figure the regression is here in rustc.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant