mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Avoid use of deprecated (and buggy) std::env::home_dir
This commit is contained in:
parent
88664912ed
commit
e397ca06d8
4 changed files with 23 additions and 29 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
#[cfg(target_os = "android")]
|
||||
extern crate android_injected_glue;
|
||||
#[cfg(not(target_os = "android"))]
|
||||
extern crate dirs;
|
||||
extern crate embedder_traits;
|
||||
extern crate euclid;
|
||||
extern crate getopts;
|
||||
|
@ -17,8 +19,6 @@ extern crate rustc_serialize;
|
|||
extern crate servo_geometry;
|
||||
extern crate servo_url;
|
||||
extern crate url;
|
||||
#[cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))]
|
||||
extern crate xdg;
|
||||
|
||||
pub mod basedir;
|
||||
#[allow(unsafe_code)] pub mod opts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue