From 5ddcc3bc7dfb0f3a2306e3b9132593b6ba78ff6b Mon Sep 17 00:00:00 2001
From: Robbert van der Helm <mail@robbertvanderhelm.nl>
Date: Sun, 19 Feb 2023 13:15:09 +0100
Subject: [PATCH] Silence unused event loop warning without VST3

---
 src/event_loop.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/event_loop.rs b/src/event_loop.rs
index 4629a833..034c8904 100644
--- a/src/event_loop.rs
+++ b/src/event_loop.rs
@@ -13,10 +13,13 @@ mod windows;
 
 pub(crate) use self::background_thread::BackgroundThread;
 
+#[allow(unused_imports)]
 #[cfg(all(target_family = "unix", not(target_os = "macos")))]
 pub(crate) use self::linux::LinuxEventLoop as OsEventLoop;
+#[allow(unused_imports)]
 #[cfg(target_os = "macos")]
 pub(crate) use self::macos::MacOSEventLoop as OsEventLoop;
+#[allow(unused_imports)]
 #[cfg(target_os = "windows")]
 pub(crate) use self::windows::WindowsEventLoop as OsEventLoop;