Files
osui/examples/benchmark.rs
T
2026-01-30 14:19:24 +01:00

16 lines
265 B
Rust

use std::sync::Arc;
use osui::prelude::*;
pub fn main() {
let engine = Benchmark::new(Console::new());
engine.run(app).expect("Failed to run engine");
}
fn app(cx: &Arc<Context>) -> View {
rsx! {
"Hello, world!"
}
.view(cx.clone())
}