File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " tauri " : patch
3+ " tauri-runtime " : patch
4+ " tauri-runtime-wry " : patch
5+ ---
6+
7+ The ` run_return ` API is now available on Linux.
Original file line number Diff line number Diff line change @@ -1819,7 +1819,6 @@ impl Runtime for Wry {
18191819 } ) ;
18201820 }
18211821
1822- #[ cfg( any( target_os = "windows" , target_os = "macos" ) ) ]
18231822 fn run_iteration < F : FnMut ( RunEvent ) + ' static > ( & mut self , mut callback : F ) -> RunIteration {
18241823 use wry:: application:: platform:: run_return:: EventLoopExtRunReturn ;
18251824 let windows = self . windows . clone ( ) ;
Original file line number Diff line number Diff line change @@ -341,7 +341,6 @@ pub trait Runtime: Sized + 'static {
341341 fn set_activation_policy ( & mut self , activation_policy : ActivationPolicy ) ;
342342
343343 /// Runs the one step of the webview runtime event loop and returns control flow to the caller.
344- #[ cfg( any( target_os = "windows" , target_os = "macos" ) ) ]
345344 fn run_iteration < F : Fn ( RunEvent ) + ' static > ( & mut self , callback : F ) -> RunIteration ;
346345
347346 /// Run the webview runtime.
Original file line number Diff line number Diff line change @@ -516,7 +516,6 @@ impl<R: Runtime> App<R> {
516516 /// }
517517 /// }
518518 /// ```
519- #[ cfg( any( target_os = "windows" , target_os = "macos" ) ) ]
520519 pub fn run_iteration ( & mut self ) -> crate :: runtime:: RunIteration {
521520 let manager = self . manager . clone ( ) ;
522521 let app_handle = self . handle ( ) ;
Original file line number Diff line number Diff line change @@ -561,7 +561,6 @@ impl Runtime for MockRuntime {
561561 #[ cfg_attr( doc_cfg, doc( cfg( target_os = "macos" ) ) ) ]
562562 fn set_activation_policy ( & mut self , activation_policy : tauri_runtime:: ActivationPolicy ) { }
563563
564- #[ cfg( any( target_os = "windows" , target_os = "macos" ) ) ]
565564 fn run_iteration < F : Fn ( RunEvent ) + ' static > (
566565 & mut self ,
567566 callback : F ,
You can’t perform that action at this time.
0 commit comments