Replace #[phase] with #[plugin] / #[macro_use] / #[no_link]

This commit is contained in:
Keegan McAllister
2014-12-31 20:43:46 -08:00
parent f314e2c4ea
commit 60be2f52d2
82 changed files with 363 additions and 236 deletions

View File

@@ -32,7 +32,14 @@ extern crate rustc_driver;
extern crate serialize;
extern crate syntax;
extern crate "test" as testing;
#[phase(plugin, link)] extern crate log;
#[cfg(stage0)]
#[phase(plugin, link)]
extern crate log;
#[cfg(not(stage0))]
#[macro_use]
extern crate log;
extern crate "serialize" as rustc_serialize; // used by deriving