diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-12-16 14:12:50 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-12-16 14:12:50 +0100 |
| commit | 3596d4498808d44e0923a547fe2f1ec7774fffb9 (patch) | |
| tree | 50db319ec8158506a46bb786eb7c5aef4babf3af /src | |
| parent | d517ae683e89ef53bba005c573d15d0fdd4e361f (diff) | |
| download | rust-3596d4498808d44e0923a547fe2f1ec7774fffb9.tar.gz rust-3596d4498808d44e0923a547fe2f1ec7774fffb9.zip | |
Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bbf7d22c850..dffa854177b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -105,7 +105,7 @@ impl ClippyCmd { } fn into_std_cmd(self) -> Command { - let mut cmd = Command::new("cargo"); + let mut cmd = Command::new(env::var("CARGO").unwrap_or("cargo".into())); let clippy_args: String = self .clippy_args .iter() |
