about summary refs log tree commit diff
path: root/src/libstd/std.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-08-28 01:33:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-25 16:30:05 -0700
commiteb2b25dd6d38157213742b048fad63fa4ceec691 (patch)
treee41f9af78454e8f6641dead395274419d843ab63 /src/libstd/std.rs
parentaf25f58ac3da45899ed65b3af965150c8a90dcda (diff)
downloadrust-eb2b25dd6d38157213742b048fad63fa4ceec691.tar.gz
rust-eb2b25dd6d38157213742b048fad63fa4ceec691.zip
Refactor the logging system for fewer allocations
This lifts various restrictions on the runtime, for example the character limit
when logging a message. Right now the old debug!-style macros still involve
allocating (because they use fmt! syntax), but the new debug2! macros don't
involve allocating at all (unless the formatter for a type requires allocation.
Diffstat (limited to 'src/libstd/std.rs')
-rw-r--r--src/libstd/std.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/std.rs b/src/libstd/std.rs
index 5c1bac7418e..b06385cbcf4 100644
--- a/src/libstd/std.rs
+++ b/src/libstd/std.rs
@@ -224,4 +224,5 @@ mod std {
     pub use os;
     pub use fmt;
     pub use to_bytes;
+    pub use logging;
 }