Run Iris examples on desktop and Android

This commit is contained in:
iris committed 2026-09-11 11:33:04 -04:00
1 parent 37f956707e
commit b5666cdef9
25 files changed
+577 -205

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ mod access_tests;
#[cfg(test)]
mod layout_tests;
pub use image;
pub use iris_core as core;
pub use iris_macro as macros;
pub use iris_macro::app_init;
+5
View File
@@ -14,6 +14,11 @@ use tokio::{
},
};
/// Waits without blocking the task runtime's worker thread.
pub async fn sleep(duration: std::time::Duration) {
tokio::time::sleep(duration).await;
}
/// What a completed task nudges when it wants its result drawn. Shared
/// between backends rather than typed as `winit::window::Window` directly:
/// android-view has no `Window` at all, and the redraw request there is a