1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 01:37:42 +02:00

make runtime macros more IDE friendly (#391)

This commit is contained in:
Rob Ede
2021-10-14 10:54:39 +01:00
committed by GitHub
parent 5c555a9408
commit 4ff8a2cf68
9 changed files with 109 additions and 6 deletions

View File

@ -0,0 +1,10 @@
mod system {
pub use actix_rt::System as MySystem;
}
#[actix_rt::test(system = "system::MySystem")]
async fn my_test() {
futures_util::future::ready(()).await
}
fn main() {}