diff options
Diffstat (limited to 'src/libstd/rt/io/native')
| -rw-r--r-- | src/libstd/rt/io/native/file.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/rt/io/native/file.rs b/src/libstd/rt/io/native/file.rs index f0dd63a3224..dc8d34d1b11 100644 --- a/src/libstd/rt/io/native/file.rs +++ b/src/libstd/rt/io/native/file.rs @@ -223,6 +223,7 @@ mod tests { use super::*; #[test] #[fixed_stack_segment] + #[ignore(cfg(target_os = "freebsd"))] // hmm, maybe pipes have a tiny buffer fn test_file_desc() { // Run this test with some pipes so we don't have to mess around with // opening or closing files. @@ -258,7 +259,7 @@ mod tests { } #[test] #[fixed_stack_segment] - #[ignore(windows)] // apparently windows doesn't like tmpfile + #[ignore(cfg(windows))] // apparently windows doesn't like tmpfile fn test_cfile() { unsafe { let f = libc::tmpfile(); |
