From ffb2f12ed89213f96561dfbece0751ac870e2c40 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Sat, 24 May 2014 21:15:16 -0700 Subject: Use phase(plugin) in bootstrap crates Do this to avoid warnings on post-stage0 builds. --- src/libsync/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libsync/lib.rs') diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs index fc4d5fec5f5..44d17e6fb95 100644 --- a/src/libsync/lib.rs +++ b/src/libsync/lib.rs @@ -25,9 +25,12 @@ #![deny(missing_doc)] -#[cfg(test)] +#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log; +#[cfg(test, not(stage0))] +#[phase(plugin, link)] extern crate log; + extern crate alloc; pub use comm::{DuplexStream, duplex}; -- cgit 1.4.1-3-g733a5