Use servo_config::opts only on linux target.

It's not used for other architectures and triggers warnings.
This commit is contained in:
Lucjan Suski 2017-03-21 15:53:06 +01:00
parent c83ac31e71
commit 9a059b49c5
2 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ use dom_struct::dom_struct;
use js::conversions::ConversionResult;
use js::jsapi::{JSContext, JSObject};
use js::jsval::{ObjectValue, UndefinedValue};
#[cfg(target_os = "linux")]
use servo_config::opts;
use servo_config::prefs::PREFS;
use std::rc::Rc;