8000 maintenance: restore clean cargo clippy --all-targets --all-features · Issue #110 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

maintenance: restore clean cargo clippy --all-targets --all-features #110

Closed

Description

@adityamukho

Problem

The repository currently fails cargo clippy --all-targets --all-features -- -D warnings, even though cargo clippy --lib --all-features -- -D warnings passes. This leaves the repo in a state where the documented strict lint posture does not hold for tests and dev targets.

Evidence

Current failures observed in the audit include:

  • src/query/datalog/optimizer.rs: unused import in test module under wasm builds
  • tests/recursive_rules_test.rs: needless_range_loop
  • several additional test-only lints in src/query/datalog/executor.rs, src/query/datalog/functions.rs, src/storage/persistent_facts.rs, src/storage/packed_pages.rs, and src/wal.rs

Representative command:

cargo clippy --all-targets --all-features -- -D warnings

Why this matters

  • CI or local pre-release checks that rely on all-targets clippy will fail
  • test/dev code can drift away from the project's lint standard
  • future contributors get noisy failures unrelated to their changes

Scope

Make the full workspace pass strict clippy for all targets and all features without weakening lint settings.

Activity

  1. added
    enhancement
    rust
    on Apr 8, 2026
  2. added a commit that references this issue on Apr 9, 2026
    e3b0f9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0