mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 13:52:08 +01:00
work around to rust#62127
This commit is contained in:
parent
4546774f4e
commit
f5aecdee8f
@ -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;
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user