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/libsyntax/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libsyntax') diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 7fe67ad6f87..754518f5fea 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -32,8 +32,15 @@ This API is completely unstable and subject to change. extern crate serialize; extern crate term; + +#[cfg(stage0)] #[phase(syntax, link)] extern crate log; + +#[cfg(not(stage0))] +#[phase(plugin, link)] +extern crate log; + extern crate fmt_macros; extern crate debug; -- cgit 1.4.1-3-g733a5