diff --git a/xtask/src/cargo_command.rs b/xtask/src/cargo_command.rs index 78e81b1d77..ab57fd70e4 100644 --- a/xtask/src/cargo_command.rs +++ b/xtask/src/cargo_command.rs @@ -44,6 +44,7 @@ pub enum CargoCommand<'a> { }, ExampleCheck { cargoarg: &'a Option<&'a str>, + #[allow(dead_code)] platform: Platforms, // to tell which platform. If None, it assumes lm3s6965 example: &'a str, target: Option>,