From d89f91109f2f7e4d7c1b872bdda2a8e8b27f6e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 19 Jun 2024 21:54:45 +0200 Subject: [PATCH] xtasks: handle platform flagged as unused --- xtask/src/cargo_command.rs | 1 + 1 file changed, 1 insertion(+) 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>,