mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Fix Gecko and Servo builds, and appease tidy.
This commit is contained in:
parent
f9ce3a9da2
commit
ff41f82720
16 changed files with 155 additions and 78 deletions
|
@ -11,7 +11,6 @@ use crate::parallel::STYLE_THREAD_STACK_SIZE_KB;
|
|||
use crate::shared_lock::SharedRwLock;
|
||||
use crate::thread_state;
|
||||
use rayon;
|
||||
use servo_config::pref;
|
||||
use std::env;
|
||||
|
||||
/// Global style data
|
||||
|
@ -67,6 +66,7 @@ lazy_static! {
|
|||
Ok(num) => num,
|
||||
#[cfg(feature = "servo")]
|
||||
_ => {
|
||||
use servo_config::pref;
|
||||
// We always set this pref on startup, before layout or script
|
||||
// have had a chance of accessing (and thus creating) the
|
||||
// thread-pool.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue