1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 12:42:09 +01:00

work around to rust#62127

This commit is contained in:
Nikolay Kim 2019-11-26 10:14:21 +06:00
parent 4546774f4e
commit f5aecdee8f
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
//! A runtime implementation that runs everything on the current thread. //! A runtime implementation that runs everything on the current thread.
#[cfg(not(test))] // Work around for rust-lang/rust#62127
pub use actix_macros::{main, test}; pub use actix_macros::{main, test};
mod arbiter; mod arbiter;

View File

@ -10,6 +10,7 @@ use net2::TcpBuilder;
use tokio_net::driver::Handle; use tokio_net::driver::Handle;
use tokio_net::tcp::TcpStream; use tokio_net::tcp::TcpStream;
#[cfg(not(test))] // Work around for rust-lang/rust#62127
pub use actix_macros::test; pub use actix_macros::test;
/// The `TestServer` type. /// The `TestServer` type.