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

Deny warnings for doctest, and validate generating docs #407

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

dpaoliello
Copy link
Contributor

During the most recent attempt to update portable-simd in rust-lang/rust, we ran into issues with bad links in docs and doc tests failing due to warnings: rust-lang/rust#122905

This change adds checks for both of these in CI:

  • Generate docs with warnings disabled.
  • Instruct doctest to add #![deny(warnings)] to all tests.

Copy link
Member

@workingjubilee workingjubilee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! Yeah, this looks good.

@workingjubilee workingjubilee merged commit cff979e into rust-lang:master Mar 22, 2024
66 checks passed
@dpaoliello dpaoliello deleted the doctest branch March 22, 2024 23:08
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.

3 participants