#![feature(yggdrasil_os)]

//use std::os::yggdrasil::io::message_channel::{MessageChannel, MessageReceiver};

fn main() {
    // let channel = MessageChannel::open("log", true).unwrap();
    // let mut buf = [0; 1024];

    // loop {
    //     let Ok((_, len)) = channel.receive_message(&mut buf) else {
    //         continue;
    //     };

    //     if let Ok(msg) = std::str::from_utf8(&buf[..len]) {
    //         debug_trace!("log::message: {:?}", msg);
    //     }
    // }
}
