diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 14:02:23 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:14:17 +0100 |
commit | 86f0431f16e95457a82546a783df16fee193ade6 (patch) | |
tree | ff8b465ead591bd09614abe4546f2ca760274055 /components/script/lib.rs | |
parent | e217672c1ab665a68aca36bb5086956254604e75 (diff) | |
download | servo-86f0431f16e95457a82546a783df16fee193ade6.tar.gz servo-86f0431f16e95457a82546a783df16fee193ade6.zip |
Rename mozjs to js in script through Cargo rather than `extern crate`
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index ef0205b68b6..7f61031aab3 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -55,6 +55,8 @@ extern crate hyper_serde; extern crate image; extern crate ipc_channel; #[macro_use] +extern crate js; +#[macro_use] extern crate jstraceable_derive; extern crate keyboard_types; #[macro_use] @@ -71,8 +73,6 @@ extern crate mime; extern crate mime_guess; extern crate mitochondria; extern crate mozangle; -#[macro_use] -extern crate mozjs as js; extern crate msg; extern crate net_traits; extern crate num_traits; |