From 9fa2b53d8c41cd717ed470926a746bdbff98dc35 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Tue, 17 Aug 2010 23:30:10 -0700 Subject: Add a "special" rust_log flag to be used for debugging in cases where the full log output prevents races from occurring. --- src/rt/rust_log.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rt/rust_log.cpp') diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index c2a1bbe36a9..e72a62faa30 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -27,6 +27,7 @@ read_type_bit_mask() { bits |= strstr(env_str, "timer") ? rust_log::TIMER : 0; bits |= strstr(env_str, "gc") ? rust_log::GC : 0; bits |= strstr(env_str, "stdlib") ? rust_log::STDLIB : 0; + bits |= strstr(env_str, "special") ? rust_log::SPECIAL : 0; bits |= strstr(env_str, "all") ? rust_log::ALL : 0; bits = strstr(env_str, "none") ? 0 : bits; } -- cgit 1.4.1-3-g733a5