From 317e463da1c02380e69e33fa9cc2514de9da8207 Mon Sep 17 00:00:00 2001 From: Skia Date: Tue, 9 Sep 2025 13:18:46 +0200 Subject: [PATCH] tests: workaround rust-lang/rust#46379 --- tests/utils/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index c25a1ca..62ffa73 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -79,6 +79,9 @@ impl Sway { .expect("Couldn't run swaymsg") } + // work around https://github.com/rust-lang/rust/issues/46379 + // TODO: maybe implement that: https://momori.dev/posts/organize-rust-integration-tests-without-dead-code-warning/ + #[allow(dead_code)] pub fn spawn_some_apps(&self) { self.send_command(["exec", "foot -T TERM1"].as_slice()); // Make sure the app are created in the right order.