Use phase(plugin) in bootstrap crates
Do this to avoid warnings on post-stage0 builds.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user