From 60be2f52d2434dfbf2df7728454d572d76f58bf8 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Wed, 31 Dec 2014 20:43:46 -0800 Subject: Replace #[phase] with #[plugin] / #[macro_use] / #[no_link] --- src/libterm/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/libterm') diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 3a442080077..dd42bede13a 100644 --- a/src/libterm/lib.rs +++ b/src/libterm/lib.rs @@ -52,7 +52,13 @@ #![deny(missing_docs)] -#[phase(plugin, link)] extern crate log; +#[cfg(stage0)] +#[phase(plugin, link)] +extern crate log; + +#[cfg(not(stage0))] +#[macro_use] +extern crate log; pub use terminfo::TerminfoTerminal; #[cfg(windows)] -- cgit 1.4.1-3-g733a5