Skip to content

Forbid rustdoc warnings in CI#12420

Merged
alexcrichton merged 4 commits intobytecodealliance:mainfrom
alexcrichton:fix-doc-warnings
Jan 27, 2026
Merged

Forbid rustdoc warnings in CI#12420
alexcrichton merged 4 commits intobytecodealliance:mainfrom
alexcrichton:fix-doc-warnings

Conversation

@alexcrichton
Copy link
Member

This commit corrects our handling of rustdoc flags in CI to ensure that warnings indeed fire. Additionally this changes our flags to pass -Dwarnings to ensure that we have warning-free doc builds when all features are enabled at least.

There were quite a lot of preexisting issues to fix, so this additionally goes through and fixes all the warnings that cropped up.

@alexcrichton alexcrichton requested review from a team as code owners January 23, 2026 23:17
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 23, 2026 23:17
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language wasi Issues pertaining to WASI wasmtime:api Related to the API of the `wasmtime` crate itself labels Jan 24, 2026
@github-actions
Copy link

Subscribe to Label Action

cc @cfallin, @fitzgen

Details This issue or pull request has been labeled: "cranelift", "isle", "wasi", "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

  • cfallin: isle
  • fitzgen: isle

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton added this pull request to the merge queue Jan 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jan 26, 2026
@alexcrichton alexcrichton added this pull request to the merge queue Jan 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 26, 2026
This commit corrects our handling of rustdoc flags in CI to ensure that
warnings indeed fire. Additionally this changes our flags to pass
`-Dwarnings` to ensure that we have warning-free doc builds when all
features are enabled at least.

There were quite a lot of preexisting issues to fix, so this
additionally goes through and fixes all the warnings that cropped up.
@alexcrichton alexcrichton added this pull request to the merge queue Jan 27, 2026
Merged via the queue into bytecodealliance:main with commit bc4582c Jan 27, 2026
174 checks passed
@alexcrichton alexcrichton deleted the fix-doc-warnings branch January 27, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language wasi Issues pertaining to WASI wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments