fix build on windows

This commit is contained in:
Lucas Nogueira
2026-01-07 11:04:00 -03:00
parent 1aa854cbd3
commit 4b8688cff7

View File

@@ -435,7 +435,7 @@ pub trait Runtime<T: UserEvent>: Debug + Sized + 'static {
target_os = "openbsd"
)))
)]
fn new_any_thread(args: RuntimeInitArgs) -> Result<Self>;
fn new_any_thread(args: RuntimeInitArgs<Self::PlatformSpecificInitAttribute>) -> Result<Self>;
/// Creates an `EventLoopProxy` that can be used to dispatch user events to the main event loop.
fn create_proxy(&self) -> Self::EventLoopProxy;