rust/src/main.rs

18 lines
287 B
Rust
Raw Permalink Normal View History

2025-01-14 20:52:01 +00:00
//
mod kxio;
fn main() -> Result<(), Box<dyn std::error::Error>> {
2024-05-16 19:46:05 +01:00
println!("Hello, world!");
2025-01-14 20:52:01 +00:00
let rt = tokio::runtime::Runtime::new()?;
Ok(rt.block_on(crate::kxio::main())?)
}
#[cfg(test)]
mod tests {
#[test]
fn passes() {
println!("passes okay");
}
2024-05-16 19:46:05 +01:00
}