We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04ff09 commit e48e8c3Copy full SHA for e48e8c3
crates/tauri-runtime-wry/src/lib.rs
@@ -2830,6 +2830,7 @@ impl<T: UserEvent> Runtime<T> for Wry<T> {
2830
});
2831
}
2832
2833
+ #[cfg(desktop)]
2834
fn run_return<F: FnMut(RunEvent<T>) + 'static>(mut self, mut callback: F) -> i32 {
2835
use tao::platform::run_return::EventLoopExtRunReturn;
2836
crates/tauri/src/test/mock_runtime.rs
@@ -1188,6 +1188,7 @@ impl<T: UserEvent> Runtime<T> for MockRuntime {
1188
))]
1189
fn run_iteration<F: FnMut(RunEvent<T>)>(&mut self, callback: F) {}
1190
1191
1192
fn run_return<F: FnMut(RunEvent<T>) + 'static>(self, mut callback: F) -> i32 {
1193
self.run(callback);
1194
0 commit comments