about summary refs log tree commit diff
path: root/src/libstd/rt/io/native
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-07 13:25:06 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-10 03:38:51 -0700
commitfacefa7c8d1adf6c851dca88fcf4f5d26f72caa9 (patch)
tree95e08a16097fb774d8c2c1f9e20fd362b2530de7 /src/libstd/rt/io/native
parenta0d2f71e8e64d7994f20932caedab1b8dccc5539 (diff)
downloadrust-facefa7c8d1adf6c851dca88fcf4f5d26f72caa9.tar.gz
rust-facefa7c8d1adf6c851dca88fcf4f5d26f72caa9.zip
Implement rt::io::stdio
Additionally, this moves the prelude imports of print/println from std::io to
std::rt::io.

Closes #6846
Diffstat (limited to 'src/libstd/rt/io/native')
-rw-r--r--src/libstd/rt/io/native/file.rs3
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();