diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-02-20 22:46:26 -0800 | 
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-03-11 15:38:55 -0700 | 
| commit | a69a2acfba1c09d2ca47f454ecff7b571c324d57 (patch) | |
| tree | d3b952b31d20c922ef23871a0c2d84d09c944910 /src/libcore/ptr.rs | |
| parent | 53db6c7e2a11764a806e87c7268d31288fa9171d (diff) | |
| download | rust-a69a2acfba1c09d2ca47f454ecff7b571c324d57.tar.gz rust-a69a2acfba1c09d2ca47f454ecff7b571c324d57.zip | |
rt/core: port os::list_dir to rust ref #4812
Diffstat (limited to 'src/libcore/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 042720e1b4e..9f8ddc92a77 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -18,9 +18,9 @@ use sys; #[cfg(test)] use vec; #[cfg(test)] use str; -#[cfg(test)] use uint; -#[cfg(test)] use debug; #[cfg(notest)] use cmp::{Eq, Ord}; +use debug; +use uint; pub mod libc_ { use libc::c_void; @@ -504,6 +504,7 @@ pub mod ptr_tests { } #[test] #[should_fail] + #[ignore(cfg(windows))] pub fn test_ptr_array_each_with_len_null_ptr() { unsafe { ptr::array_each_with_len(0 as **libc::c_char, 1, |e| { @@ -513,6 +514,7 @@ pub mod ptr_tests { } #[test] #[should_fail] + #[ignore(cfg(windows))] pub fn test_ptr_array_each_null_ptr() { unsafe { ptr::array_each(0 as **libc::c_char, |e| { | 
