mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Make the unrooted_must_root conditional on a default Cargo feature.
Only http://perf.rust-lang.org/ will disable it, in order to be less subject to changes to rustc internal APIs.
This commit is contained in:
parent
27a2bb1582
commit
a5d9d0b32d
4 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,8 @@ path = "lib.rs"
|
|||
[features]
|
||||
debugmozjs = ['js/debugmozjs']
|
||||
unstable = ["servo_allocator/unstable"]
|
||||
unrooted_must_root_lint = ["script_plugins/unrooted_must_root_lint"]
|
||||
default = ["unrooted_must_root_lint"]
|
||||
|
||||
[build-dependencies]
|
||||
cmake = "0.1"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#![doc = "The script crate contains all matters DOM."]
|
||||
|
||||
#![plugin(script_plugins)]
|
||||
#![cfg_attr(not(feature = "unrooted_must_root_lint"), allow(unknown_lints))]
|
||||
|
||||
extern crate angle;
|
||||
extern crate app_units;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue