Use phase(plugin) in bootstrap crates

Do this to avoid warnings on post-stage0 builds.
This commit is contained in:
Keegan McAllister
2014-05-24 21:15:16 -07:00
parent 6d15c6749c
commit ffb2f12ed8
15 changed files with 98 additions and 18 deletions

View File

@@ -19,8 +19,6 @@
extern crate debug;
extern crate getopts;
extern crate libc;
#[phase(syntax, link)]
extern crate log;
extern crate rustc;
extern crate serialize;
extern crate sync;
@@ -28,6 +26,14 @@ extern crate syntax;
extern crate testing = "test";
extern crate time;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
use std::io;
use std::io::{File, MemWriter};
use std::str;