From 39a06368c8f1e6e77c1e838b0a8a39e548c344f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Thu, 2 Mar 2023 19:40:50 +0100 Subject: xtask: rtic-sync --- xtask/src/argument_parsing.rs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'xtask/src/argument_parsing.rs') diff --git a/xtask/src/argument_parsing.rs b/xtask/src/argument_parsing.rs index bd28492..aff464c 100644 --- a/xtask/src/argument_parsing.rs +++ b/xtask/src/argument_parsing.rs @@ -5,11 +5,10 @@ use core::fmt; #[derive(clap::ValueEnum, Copy, Clone, Debug)] pub enum Package { Rtic, - RticArbiter, - RticChannel, RticCommon, RticMacros, RticMonotonics, + RticSync, RticTime, } @@ -23,11 +22,10 @@ impl Package { pub fn name(&self) -> &str { match self { Package::Rtic => "rtic", - Package::RticArbiter => "rtic-arbiter", - Package::RticChannel => "rtic-channel", Package::RticCommon => "rtic-common", Package::RticMacros => "rtic-macros", Package::RticMonotonics => "rtic-monotonics", + Package::RticSync => "rtic-sync", Package::RticTime => "rtic-time", } } @@ -55,12 +53,7 @@ impl TestMetadata { features: Some(backend.to_rtic_macros_feature().to_owned()), test: None, }, - Package::RticArbiter => CargoCommand::Test { - package: Some(package), - features: Some("testing".to_owned()), - test: None, - }, - Package::RticChannel => CargoCommand::Test { + Package::RticSync => CargoCommand::Test { package: Some(package), features: Some("testing".to_owned()), test: None, -- cgit v1.2.3