Skip to content

Conversation

@QuietMisdreavus
Copy link
Contributor

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