diff --git a/crates/tauri-runtime/src/lib.rs b/crates/tauri-runtime/src/lib.rs index b1c06f397721..cf3a68c8c1a2 100644 --- a/crates/tauri-runtime/src/lib.rs +++ b/crates/tauri-runtime/src/lib.rs @@ -438,12 +438,8 @@ pub trait Runtime: Debug + Sized + 'static { fn run_iteration) + 'static>(&mut self, callback: F); /// Equivalent to [`Runtime::run`] but returns the exit code instead of exiting the process. - /// - /// Note: This function only has a default impl to avoid a semver-incompatible change. #[cfg(desktop)] - fn run_return) + 'static>(&mut self, callback: F) -> i32 { - unimplemented!("Runtime::run_return is not implemented") - } + fn run_return) + 'static>(&mut self, callback: F) -> i32; /// Run the webview runtime. fn run) + 'static>(self, callback: F);