Avoid use of deprecated (and buggy) std::env::home_dir

This commit is contained in:
Simon Sapin 2018-07-18 11:25:08 +02:00
parent 88664912ed
commit e397ca06d8
4 changed files with 23 additions and 29 deletions

View file

@ -28,8 +28,8 @@ url = "1.2"
env_logger = "0.5"
embedder_traits = { path = "../embedder_traits", features = ["tests"] }
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies]
xdg = "2.0"
[target.'cfg(not(target_os = "android"))'.dependencies]
dirs = "1.0"
[target.'cfg(target_os = "android")'.dependencies]
android_injected_glue = "0.2"