From c0e9b29bf45adec632756dd54b7fbf05fd25df6e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 6 Jan 2023 15:58:01 +0100 Subject: [PATCH] Remove macOS deprecation warning from event loop --- src/event_loop/linux.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/event_loop/linux.rs b/src/event_loop/linux.rs index 29f04268..ae0be6cf 100644 --- a/src/event_loop/linux.rs +++ b/src/event_loop/linux.rs @@ -10,11 +10,6 @@ use super::{EventLoop, MainThreadExecutor}; use crate::util::permit_alloc; /// See [`EventLoop`][super::EventLoop]. -#[cfg_attr( - target_os = "macos", - deprecated = "macOS needs to have its own event loop implementation, this implementation may \ - not work correctly" -)] pub(crate) struct LinuxEventLoop { /// The thing that ends up executing these tasks. The tasks are usually executed from the worker /// thread, but if the current thread is the main thread then the task cna also be executed