diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2014-03-21 10:16:41 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2014-03-21 14:54:56 -0700 |
commit | 79ca9b6eb00e5a5945f03221227a43919f67caa4 (patch) | |
tree | fcdc17aae1a720f782ab703f7a2a603372579468 /src/components/script/script.rs | |
parent | 831712206865e2c0516009b16e2ac60f754dd1a8 (diff) | |
download | servo-79ca9b6eb00e5a5945f03221227a43919f67caa4.tar.gz servo-79ca9b6eb00e5a5945f03221227a43919f67caa4.zip |
Move common macros into a new crate (fixes #1882)
Diffstat (limited to 'src/components/script/script.rs')
-rw-r--r-- | src/components/script/script.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/script/script.rs b/src/components/script/script.rs index 4c5a53efbe6..c9160b56131 100644 --- a/src/components/script/script.rs +++ b/src/components/script/script.rs @@ -8,7 +8,7 @@ #[comment = "The Servo Parallel Browser Project"]; #[license = "MPL"]; -#[feature(globs, macro_rules, struct_variant, managed_boxes)]; +#[feature(globs, macro_rules, struct_variant, managed_boxes, phase)]; extern crate collections; extern crate geom; @@ -16,6 +16,8 @@ extern crate hubbub; extern crate encoding; extern crate js; extern crate serialize; +#[phase(syntax)] +extern crate servo_macros = "macros"; extern crate servo_net = "net"; extern crate servo_util = "util"; extern crate style; @@ -23,9 +25,6 @@ extern crate servo_msg = "msg"; extern crate extra; extern crate native; -// Macros -mod macros; - pub mod dom { pub mod bindings { pub mod js; |