Skip to content

Commit ecc13f9

Browse files
committed
servo: Merge #6159 - Remove usage of the mod_path compiler plugin (from SimonSapin:no_mod_path); r=Manishearth
rust-lang/rust#20179 makes its use case much weaker. r? Manishearth Source-Repo: https://github.com/servo/servo Source-Revision: e04d9c32a98ff4673f413ed17f66e7466e2ff974 UltraBlame original commit: 81933413281cee300e35174beae0d9bf87083c71
1 parent e8ae919 commit ecc13f9

File tree

6 files changed

+4
-23
lines changed

6 files changed

+4
-23
lines changed

servo/components/servo/Cargo.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

servo/components/style/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ encoding = "0.2"
3232
rustc-serialize = "0.3"
3333
matches = "0.1"
3434
url = "0.2.16"
35-
mod_path = "0.1"
3635
bitflags = "*"
3736
cssparser = "0.3.1"
3837
num = "0.1.24"

servo/components/style/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![feature(rustc_private)]
1212

1313
#![plugin(string_cache_plugin)]
14-
#![plugin(mod_path)]
1514

1615
#[macro_use] extern crate log;
1716
#[macro_use] extern crate bitflags;
@@ -44,7 +43,10 @@ pub mod selector_matching;
4443
#[macro_use] pub mod values;
4544

4645

47-
mod_path! properties (concat!(env!("OUT_DIR"), "/properties.rs"));
46+
#[macro_use]
47+
pub mod properties {
48+
include!(concat!(env!("OUT_DIR"), "/properties.rs"));
49+
}
4850

4951
pub mod node;
5052
pub mod media_queries;

servo/components/style/properties.mako.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55

66

7-
#![macro_use]
8-
97
use std::ascii::AsciiExt;
108
use std::borrow::ToOwned;
119
use std::default::Default;

servo/ports/cef/Cargo.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

servo/ports/gonk/Cargo.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)