Use phase(plugin) in tests
This commit is contained in:
parent
84243ed6e1
commit
ed41b71fbe
42 changed files with 43 additions and 43 deletions
|
|
@ -11,7 +11,7 @@
|
|||
// no-pretty-expanded
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(syntax)] extern crate green;
|
||||
#[phase(plugin)] extern crate green;
|
||||
|
||||
use std::string::String;
|
||||
use std::fmt;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
// OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(syntax)] extern crate green;
|
||||
#[phase(plugin)] extern crate green;
|
||||
extern crate sync;
|
||||
|
||||
use sync::Arc;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
#![feature(macro_rules, phase)]
|
||||
|
||||
extern crate regex;
|
||||
#[phase(syntax)]extern crate regex_macros;
|
||||
#[phase(plugin)]extern crate regex_macros;
|
||||
extern crate sync;
|
||||
|
||||
use std::io;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#![feature(phase)]
|
||||
#![allow(non_snake_case_functions)]
|
||||
#[phase(syntax)] extern crate green;
|
||||
#[phase(plugin)] extern crate green;
|
||||
extern crate sync;
|
||||
|
||||
use std::from_str::FromStr;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(syntax)] extern crate green;
|
||||
#[phase(plugin)] extern crate green;
|
||||
green_start!(main)
|
||||
|
||||
fn start(n_tasks: int, token: int) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue