From 40ab198356bbec05b308b2e61ebc6fe9e23ade9d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 26 Feb 2014 13:03:40 -0800 Subject: rustc: Use libnative for the compiler The compiler itself doesn't necessarily need any features of green threading such as spawning tasks and lots of I/O, so libnative is slightly more appropriate for rustc to use itself. This should also help the rusti bot which is currently incompatible with libuv. --- src/libnative/io/file_win32.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libnative') diff --git a/src/libnative/io/file_win32.rs b/src/libnative/io/file_win32.rs index 9fe57536da3..e880bd05cf7 100644 --- a/src/libnative/io/file_win32.rs +++ b/src/libnative/io/file_win32.rs @@ -433,6 +433,7 @@ pub fn readlink(p: &CString) -> IoResult { libc::VOLUME_NAME_DOS) }); let ret = match ret { + Some(ref s) if s.starts_with(r"\\?\") => Ok(Path::new(s.slice_from(4))), Some(s) => Ok(Path::new(s)), None => Err(super::last_error()), }; -- cgit 1.4.1-3-g733a5