From 3596d4498808d44e0923a547fe2f1ec7774fffb9 Mon Sep 17 00:00:00 2001 From: Philipp Krones Date: Sat, 16 Dec 2023 14:12:50 +0100 Subject: Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() -- cgit 1.4.1-3-g733a5