about summary refs log tree commit diff
path: root/src/main.rs
AgeCommit message (Collapse)AuthorLines
2019-07-15Deny warnings in CIMichael Wright-0/+2
2019-03-12Remove some unused features and `error-pattern`sPhilipp Hansch-5/+0
2019-02-02Drive-by cleanups to cargo-clippy. No functional change.Jeremy Fitzhardinge-8/+2
2019-01-26Fix dogfood tests on AppveyorMichael Wright-0/+6
This introduces a work-around for a bug in rustup.rs when excuting cargo from a custom toolchain. Instead of trusting rustup to invoke cargo from one of the release channels we just invoke nightly cargo directly.
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-25update CARGO_CLIPPY_HELP string to suggest tool lints.Matthias Krüger-3/+2
2018-11-27Run rustfmt on srcflip1995-3/+2
2018-11-17remove unused allow() attributes, NFCMatthias Krüger-2/+0
2018-10-11Remove now-useless `allow(unknown_lints)`Oliver Scherer-1/+1
2018-10-11Stabilize tool lintsOliver Scherer-1/+1
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-06print git commit hash and commit date in version outputMatthias Krüger-3/+6
clippy 0.0.212 (964fcbe0 2018-09-06)
2018-08-29Adapt codebase to the tool_lintsflip1995-3/+4
2018-04-04Fix clippy warningMichael Wright-1/+1
2018-04-02Support non-unicode paths for dogfood testMichael Wright-15/+18
2018-04-01Fix clippy warnings from last commitMichael Wright-2/+2
2018-04-01Make dogfood test output to seperate directoryMichael Wright-0/+17
This commit makes `cargo clippy` output the build artifacts to a separate directory if the `CLIPPY_DOGFOOD` env var is set. This should prevent dogfood builds from interfering with regular builds. This should help with issue #2595.
2018-03-28Delete all code for handling manifest pathBenjamin Gill-124/+3
Now that we're using cargo check, we can stop needing to find out the manifest path ourselves. Instead, we can delegate to cargo check, which is perfectly capable of working out for itself what needs to be built. This fixes #1707 and #2518. Note that this PR will change the output. We will no longer output `bin: foo` before each crate. This a bit unfortunate. However, given that we're now going to be building in parallel (which is *much* faster), I think this is acceptable - we'll be no worse than cargo itself.
2018-03-28Use cargo check instead of cargo rustcOliver Schneider-9/+9
2018-03-27Undo current_dir -> CARGO_MANIFEST_DIR moveOliver Schneider-2/+2
2018-03-27Version bumpOliver Schneider-3/+3
2018-03-25Undo a temporary fix for a cargo bugOliver Schneider-1/+1
Fixes #2566
2018-03-19Version bumpOliver Schneider-4/+12
2018-03-16Format codeMateusz Mikuła-1/+4
Signed-off-by: Mateusz Mikuła <mati865@gmail.com>
2018-03-13Update dependenciesOliver Schneider-3/+5
2018-01-19Readd the .exe extension on windowsOliver Schneider-1/+4
2017-12-15Rustup and lazy_static version mismatch fixOliver Schneider-0/+2
fixes #2274
2017-11-14Apply changes that were required for running in the rustc test suiteOliver Schneider-6/+0
2017-11-05Cargo fmttopecongiro-2/+1
2017-11-02Use is_ok()topecongiro-1/+1
2017-10-03Reduce the hackiness of cargo-clippyOliver Schneider-264/+89
2017-09-28Set RUSTC_WRAPPER instead of RUSTC when invoking CargoAaron Hill-7/+11
Some build scripts rely on the RUSTC binary being the actual compiler (e.g. parsing the output of 'RUSTC --version'). To prevent clippy from breaking these build scripts, this commit sets RUSTC_WRAPPER instead. This will cause Cargo to leave RUSTC unchanged, making the use of clippy transparent to build scripts.
2017-09-14Add a missing argumenttopecongiro-1/+2
2017-09-05Run nightly rustfmtOliver Schneider-31/+14
2017-08-22Merge pull request #1977 from rust-lang-nursery/panicOliver Schneider-1/+1
Fix a panic and a false positive
2017-08-21Fix ICE #1969Oliver Schneider-1/+1
2017-08-20Add help text for `--all`Benjamin Gill-1/+1
2017-08-20Run Rustfmt-nightlyBenjamin Gill-17/+17
2017-08-20Basic implementation of `cargo clippy --all`Benjamin Gill-63/+75
This implements workspace support for `cargo clippy` by running clippy over all packages in the workspace (in serial). This should probably be parallelised in future (as `cargo build --all`).
2017-08-14RustfmtOliver Schneider-65/+94
2017-07-28Canonicalize --manifest-path argument before comparing it to cargo metadata.Arnavion-3/+5
Before this change, a relative path like `--manifest-path=./Cargo.toml` would fail to find a matching package in the cargo metadata. With this change, both the argument and the cargo metadata path are canonicalized before comparison.
2017-07-27Fix logic that determines closest parent crate when invoked from a subdirectory.Arnavion-30/+29
The previous logic incorrectly matches the deepest child of the current directory that is a crate.
2017-07-04Merge pull request #1860 from Vurich/masterOliver Schneider-15/+43
Allow cargo-clippy to work in subdirectories
2017-07-04ignore needless_lifetimes false positiveOliver Schneider-0/+2
2017-07-03Merge pull request #1852 from Manishearth/notransOliver Schneider-2/+2
Use `--emit=metadata` instead of `-Zno-trans`
2017-07-03Fix compilation on rustc 1.20.0-nightly (067971139 2017-07-02)messense-5/+3
2017-06-29Allow cargo-clippy to work in subdirectoriesVurich-15/+41
2017-06-26Use `--emit=metadata` instead of `-Zno-trans`Oliver Schneider-2/+2
fixes #1500
2017-04-12Run rustfmtOliver Schneider-49/+69
2017-03-27Remove some legacy codeOliver Schneider-10/+4