-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cfgs from build script not passed to rustdoc #1980
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
Labels
Comments
I think this is a dupe of #1277, but thanks for the report! |
Not really. #1277 talks about features only (so a subset of |
Hm, good point. I could of sworn we had a few dupes for this issue, but I guess this one will now become the "one true issue"! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
cfg
directives returned by the build script via thecargo:rustc-cfg=foo
convention are not passed torustdoc
when invokingcargo doc
.rustdoc
seems to accept them just fine i.e. invoking it manually with--cfg foo
produces the expected results.The text was updated successfully, but these errors were encountered: