diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 13:04:27 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 13:04:27 -0700 |
| commit | 828c36932a227e3689d10db8ec9edc19ba0af6c4 (patch) | |
| tree | 48dcc0b5db1ad8cae3b9043ae4134b113b30c872 /src/libstd/sys/windows | |
| parent | 8ec3695a6774ffaad11dead0fda399102060790e (diff) | |
| parent | 6acf385c9674a359b5b45f6e127521dd1515668c (diff) | |
| download | rust-828c36932a227e3689d10db8ec9edc19ba0af6c4.tar.gz rust-828c36932a227e3689d10db8ec9edc19ba0af6c4.zip | |
rollup merge of #23197: aatxe/master
`std::dynamic_library` is currently using `std::old_io::Path` specifically. This change brings the API in alignment with `std::fs::File` by having it take `std::path::AsPath`. The Windows code should work, but I admittedly haven't tried it (I don't have a Windows machine readily available right now). r? @alexcrichton
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/backtrace.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/backtrace.rs b/src/libstd/sys/windows/backtrace.rs index 509205a20b1..385834a6226 100644 --- a/src/libstd/sys/windows/backtrace.rs +++ b/src/libstd/sys/windows/backtrace.rs @@ -23,7 +23,6 @@ //! this takes the route of using StackWalk64 in order to walk the stack. #![allow(dead_code)] -#![allow(deprecated)] // for old path for dynamic lib use prelude::v1::*; use io::prelude::*; @@ -34,7 +33,7 @@ use intrinsics; use io; use libc; use mem; -use old_path::Path; +use path::Path; use ptr; use str; use sync::{StaticMutex, MUTEX_INIT}; |
