diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-05-09 22:59:46 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-05-10 19:58:18 -0400 |
| commit | 121ad1cb7db6517ed2aabc9c1514a99f5eb95149 (patch) | |
| tree | b777b0213aecc150a7a18a7cb14643657cc62afb /src/libnative | |
| parent | 87b658cf728b5d7e6b81012460454af634f6e6f8 (diff) | |
| download | rust-121ad1cb7db6517ed2aabc9c1514a99f5eb95149.tar.gz rust-121ad1cb7db6517ed2aabc9c1514a99f5eb95149.zip | |
rename `global_heap` -> `libc_heap`
This module only contains wrappers for malloc and realloc with out-of-memory checks.
Diffstat (limited to 'src/libnative')
| -rw-r--r-- | src/libnative/io/file_win32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/file_win32.rs b/src/libnative/io/file_win32.rs index 42e5ad062ee..5fc9e506cf2 100644 --- a/src/libnative/io/file_win32.rs +++ b/src/libnative/io/file_win32.rs @@ -339,7 +339,7 @@ pub fn mkdir(p: &CString, _mode: io::FilePermission) -> IoResult<()> { } pub fn readdir(p: &CString) -> IoResult<Vec<Path>> { - use std::rt::global_heap::malloc_raw; + use std::rt::libc_heap::malloc_raw; fn prune(root: &CString, dirs: Vec<Path>) -> Vec<Path> { let root = unsafe { CString::new(root.with_ref(|p| p), false) }; |
