From facefa7c8d1adf6c851dca88fcf4f5d26f72caa9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 7 Oct 2013 13:25:06 -0700 Subject: Implement rt::io::stdio Additionally, this moves the prelude imports of print/println from std::io to std::rt::io. Closes #6846 --- src/libstd/rt/io/native/file.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstd/rt/io/native') 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(); -- cgit 1.4.1-3-g733a5