core: change import of exchange_alloc for win32 os::_list_dir

This commit is contained in:
Jeff Olson 2013-03-06 10:25:02 -08:00 committed by Brian Anderson
parent a69a2acfba
commit 25c3c363a8

View File

@ -715,7 +715,7 @@ pub fn list_dir(p: &Path) -> ~[~str] {
use os::win32::{ use os::win32::{
as_utf16_p as_utf16_p
}; };
use private::exchange_alloc::{malloc_raw, free_raw}; use unstable::exchange_alloc::{malloc_raw, free_raw};
#[nolink] #[nolink]
extern mod rustrt { extern mod rustrt {
unsafe fn rust_list_dir_wfd_size() -> libc::size_t; unsafe fn rust_list_dir_wfd_size() -> libc::size_t;