xtasks: handle platform flagged as unused

This commit is contained in:
Henrik Tjäder 2024-06-19 21:54:45 +02:00 committed by Emil Fresk
parent f3ae9d166d
commit d89f91109f

View file

@ -44,6 +44,7 @@ pub enum CargoCommand<'a> {
}, },
ExampleCheck { ExampleCheck {
cargoarg: &'a Option<&'a str>, cargoarg: &'a Option<&'a str>,
#[allow(dead_code)]
platform: Platforms, // to tell which platform. If None, it assumes lm3s6965 platform: Platforms, // to tell which platform. If None, it assumes lm3s6965
example: &'a str, example: &'a str,
target: Option<Target<'a>>, target: Option<Target<'a>>,