blob: 47d02083a0ab13973afe1b84705f8bf848a2f129 [file] [log] [blame] [view]
## Meson can run "clippy" on Rust projects
Meson now defines a `clippy` target if the project uses the Rust programming
language. The target runs clippy on all Rust sources, using the `clippy-driver`
program from the same Rust toolchain as the `rustc` compiler.
Using `clippy-driver` as the Rust compiler will now emit a warning, as it
is not meant to be a general-purpose compiler front-end.