hypha: move libraries to libs/

This commit is contained in:
Alex Zenla
2024-02-01 10:01:49 +00:00
parent def4306a04
commit bd56de235f
36 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,11 @@
use xenevtchn::error::Result;
use xenevtchn::EventChannel;
fn main() -> Result<()> {
let mut channel = EventChannel::open()?;
println!("Channel opened.");
let port = channel.bind_unbound_port(1)?;
println!("port: {}", port);
channel.unbind(port)?;
Ok(())
}