From c4ee8e8f027a246663514bb5d2d41b21cfd05ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 1 Mar 2023 00:59:06 +0100 Subject: [PATCH] xtask: check and clippy, test without target --- xtask/src/command.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xtask/src/command.rs b/xtask/src/command.rs index 9d22cf6ec2..b6602eeba5 100644 --- a/xtask/src/command.rs +++ b/xtask/src/command.rs @@ -194,7 +194,7 @@ impl<'a> CargoCommand<'a> { CargoCommand::Check { cargoarg, package, - target, + target: _, features, mode, } => { @@ -202,7 +202,7 @@ impl<'a> CargoCommand<'a> { if let Some(cargoarg) = cargoarg { args.extend_from_slice(&[cargoarg]); } - args.extend_from_slice(&[self.name(), "--target", target]); + args.extend_from_slice(&[self.name()]); if let Some(package) = package { args.extend_from_slice(&["--package", package.name()]); @@ -219,7 +219,7 @@ impl<'a> CargoCommand<'a> { CargoCommand::Clippy { cargoarg, package, - target, + target: _, features, } => { let mut args = vec!["+nightly"]; @@ -227,7 +227,7 @@ impl<'a> CargoCommand<'a> { args.extend_from_slice(&[cargoarg]); } - args.extend_from_slice(&[self.name(), "--target", target]); + args.extend_from_slice(&[self.name()]); if let Some(package) = package { args.extend_from_slice(&["--package", package.name()]);