Use phase(plugin) in bootstrap crates
Do this to avoid warnings on post-stage0 builds.
This commit is contained in:
parent
6d15c6749c
commit
ffb2f12ed8
15 changed files with 98 additions and 18 deletions
|
@ -119,7 +119,8 @@
|
|||
#[cfg(test)] extern crate native;
|
||||
#[cfg(test)] extern crate green;
|
||||
#[cfg(test)] extern crate debug;
|
||||
#[cfg(test)] #[phase(syntax, link)] extern crate log;
|
||||
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
|
||||
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
|
||||
|
||||
extern crate alloc;
|
||||
extern crate core;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue