whitequark / rust-xdg

A library that makes it easy to follow the X Desktop Group specifications
https://wiki.freedesktop.org/www/Specifications/
Apache License 2.0
154 stars 30 forks source link

Nightly: build fails with error: use of unstable library feature 'path_ext_deprecated' #2

Closed ivan closed 8 years ago

ivan commented 8 years ago
# cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading xdg v2.0.0-pre1
   Compiling xdg v2.0.0-pre1
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10:5: 10:21 error: use of unstable library feature 'path_ext_deprecated': The precise set of methods exposed on this trait may change and some methods may be removed.  For stable code, see the std::fs::metadata function. (see issue #27725)
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10 use std::fs::PathExt;
                                                                                          ^~~~~~~~~~~~~~~~
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10:5: 10:21 help: add #![feature(path_ext_deprecated)] to the crate attributes to enable
error: aborting due to previous error
Could not compile `xdg`.

To learn more, run the command again with --verbose.
# rustc --version
rustc 1.6.0-nightly (1a2eaffb6 2015-10-31)
whitequark commented 8 years ago

Fixed in 94f7a70.