use kwokka::{fs::File, runtime::Runtime};
fn main() -> std::io::Result<()> {
let mut runtime = Runtime::affine()?;
runtime.block_on(async {
let file = File::open("Cargo.toml").await?;
let (read, buf) = file.read::<64>(0).await;
let read = read?;
core::hint::black_box(&buf[..read]);
Ok::<(), std::io::Error>(())
})
}