about summary refs log tree commit diff
path: root/src/libstd/sys.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-18 11:46:37 -0700
committerbors <bors@rust-lang.org>2013-09-18 11:46:37 -0700
commitd2b0b11aebfe3167bf41f7c6c31cf7b1e396efe7 (patch)
tree3d430bf1ac33065e8c56760043ed5deae241d462 /src/libstd/sys.rs
parentb43ee6cd2eab723e4d3fd4f851c2929087e430b3 (diff)
parent817576ee7001244da68a4ee315ebdc1163d4e648 (diff)
downloadrust-d2b0b11aebfe3167bf41f7c6c31cf7b1e396efe7.tar.gz
rust-d2b0b11aebfe3167bf41f7c6c31cf7b1e396efe7.zip
auto merge of #9296 : alexcrichton/rust/snapshots, r=cmr
huzzah!
Diffstat (limited to 'src/libstd/sys.rs')
-rw-r--r--src/libstd/sys.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs
index 3d35de0f898..c315c3f9dfc 100644
--- a/src/libstd/sys.rs
+++ b/src/libstd/sys.rs
@@ -14,8 +14,6 @@
 
 use c_str::ToCStr;
 use cast;
-#[cfg(stage0)]
-use io;
 use libc;
 use libc::{c_char, size_t};
 use repr;
@@ -92,7 +90,6 @@ pub fn refcount<T>(t: @T) -> uint {
     }
 }
 
-#[cfg(not(stage0))]
 pub fn log_str<T>(t: &T) -> ~str {
     use rt::io;
     use rt::io::Decorator;
@@ -101,12 +98,6 @@ pub fn log_str<T>(t: &T) -> ~str {
     repr::write_repr(&mut result as &mut io::Writer, t);
     str::from_utf8_owned(result.inner())
 }
-#[cfg(stage0)]
-pub fn log_str<T>(t: &T) -> ~str {
-    do io::with_str_writer |w| {
-        repr::write_repr(w, t)
-    }
-}
 
 /// Trait for initiating task failure.
 pub trait FailWithCause {