diff --git a/src/test/run-pass/tcp-stress.rs b/src/test/run-pass/tcp-stress.rs index b4d128e2655fb..61478e3fdb49a 100644 --- a/src/test/run-pass/tcp-stress.rs +++ b/src/test/run-pass/tcp-stress.rs @@ -13,6 +13,10 @@ // ignore-android needs extra network permissions // exec-env:RUST_LOG=debug +#[feature(phase)]; +#[phase(syntax, link)] +extern crate log; + use std::libc; use std::io::net::ip::{Ipv4Addr, SocketAddr}; use std::io::net::tcp::{TcpListener, TcpStream};