1
0
Fork 0
firefox/third_party/rust/devd-rs/examples/main.rs
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
209 B
Rust

extern crate devd_rs;
use devd_rs::*;
fn main() {
let mut ctx = Context::new().unwrap();
loop {
if let Ok(ev) = ctx.wait_for_event(1000) {
println!("{:?}", ev);
}
}
}