1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use aok::{OK, Void}; use tracing::info; #[static_init::constructor(0)] extern "C" fn _loginit() { loginit::init(); } // #[tokio::test] // async fn test_async() -> Void { // info!("async {}", 123456); // OK // } #[test] fn test() -> Void { info!("> test {}", 123456); OK }