Skip to content

Fix difftest Clippy warnings under -D warnings#368

Open
uurl wants to merge 1 commit into
NVlabs:mainfrom
uurl:difftest-fix-clippy-warnings
Open

Fix difftest Clippy warnings under -D warnings#368
uurl wants to merge 1 commit into
NVlabs:mainfrom
uurl:difftest-fix-clippy-warnings

Conversation

@uurl

@uurl uurl commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Closes #367

This fixes existing Clippy warnings in crates/fuzzer/rustlantis/difftest/src/backends.rs so the crate can pass strict Clippy validation with warnings denied.

Changes:

  • Return the wait_with_output().expect(...) expression directly instead of binding and returning it.
  • Rename private implementation structs LLVM and GCC to Llvm and Gcc.
  • Remove an unnecessary borrow in the Miri rustup run ... miri command.

These are mechanical cleanup changes only. The affected structs are private, so this should not change the public API or runtime behavior.

Validation:

cargo fmt
RUST_TEST_THREADS=1 cargo test
cargo clippy --all-targets -- -D warnings

Signed-off-by: Raul Estrada <raulestradaa@gmail.com>
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.

Fix difftest Clippy warnings under -D warnings

1 participant