diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index e8a6ab3c05b..0f5ee424df4 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -28,6 +28,7 @@ use servo_config::opts::{self, Opts}; use servo_config::prefs::{PREFS, Pref}; use servo_url::ServoUrl; use std::collections::HashMap; +#[cfg(not(windows))] use std::env; use std::ffi::OsStr; use std::io::Error as IOError; diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs index e314b7b8f39..fb94e7b779f 100644 --- a/components/gfx/lib.rs +++ b/components/gfx/lib.rs @@ -4,7 +4,7 @@ // For SIMD #![feature(cfg_target_feature)] -#![cfg_attr(any(target_os = "linux", target_os = "android", target_os = "windows"), feature(heap_api))] +#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(heap_api))] #![feature(alloc)] #![feature(box_syntax)]