mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Silent Windows specific warnings
This commit is contained in:
parent
b6b96322c1
commit
e0a20b5568
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue