Skip to content

tag private modules with doc(cfg) #466

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

Merged
merged 1 commit into from
May 29, 2018

Conversation

QuietMisdreavus
Copy link
Member

Should fix rust-lang/rust#50988, but we'll need to run doctests for libcore on a powerpc64 machine to be sure

This applies #[doc(cfg(...))] attributes to the internal backing modules so that if doctests are run from these private modules (which they shouldn't, but the linked issue implies that they are...), they still have the proper target_arch filtering. This will make the docs for these items much more noisy, but i have a plan to patch rustdoc to "reduce" these conditionals, at least for the case being introduced here.

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

Successfully merging this pull request may close these issues.

1.26.0 - stdsimd/coresimd/x86/mod.rs test failures on non-x86 architectures
2 participants