Skip to content

chore: extend lint coverage to the fuzz and wasm paths - #410

Merged
Mathieu Morrissette (mmorrissette-devolutions) merged 1 commit into
masterfrom
chore/lint-coverage-and-hygiene
Aug 10, 2026
Merged

chore: extend lint coverage to the fuzz and wasm paths#410
Mathieu Morrissette (mmorrissette-devolutions) merged 1 commit into
masterfrom
chore/lint-coverage-and-hygiene

Conversation

@mmorrissette-devolutions

Copy link
Copy Markdown
Contributor

No description provided.

Clippy only ever ran with default features, leaving the `wbindgen` and
`fuzz` cfg paths unlinted. Add both to the CI lint action and fix the
lint debt they surfaced.

- ci: lint `--features fuzz` and `--target wasm32-unknown-unknown
  --features wbindgen --all-targets`. The wbindgen deps live under
  [target.wasm32-unknown-unknown.dependencies], so that feature only
  resolves against the wasm target.
- wasm: fix 11 clippy warnings (needless borrows, unwrap_or(Vec::new())
  -> unwrap_or_default(), an identity .into()) plus one in tests/web.rs.
- fuzz: mark the libfuzzer bins test/doc/bench = false so
  `cargo test --workspace` links instead of failing with LNK1561.
- utils: fence the `validate_header` doc example so it is compiled, and
  fix it -- `generate_key` is fallible and the asserts had unbalanced
  parens.
- utils, password_hash: surface the discarded pbkdf2 Result with an
  expect() documenting why it cannot fail.
- error: drop a dead commented-out impl block.
@mmorrissette-devolutions
Mathieu Morrissette (mmorrissette-devolutions) merged commit 31ebbae into master Aug 10, 2026
34 checks passed
@mmorrissette-devolutions
Mathieu Morrissette (mmorrissette-devolutions) deleted the chore/lint-coverage-and-hygiene branch August 10, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants