runtime
#[bench]
Creates an async benchmark.
#![feature(test)] extern crate test; #[runtime::test] async fn spawn_and_await() { runtime::spawn(async {}).await; }