diff options
| author | Michael Bebenita <mbebenita@mozilla.com> | 2010-08-17 23:30:10 -0700 |
|---|---|---|
| committer | Michael Bebenita <mbebenita@mozilla.com> | 2010-08-17 23:49:57 -0700 |
| commit | 9fa2b53d8c41cd717ed470926a746bdbff98dc35 (patch) | |
| tree | 448b2c0dbe92f39c5417885712b123af304f152b /src/rt/rust_log.cpp | |
| parent | e20752de68fe336e9fa184bef0616e31c738452c (diff) | |
| download | rust-9fa2b53d8c41cd717ed470926a746bdbff98dc35.tar.gz rust-9fa2b53d8c41cd717ed470926a746bdbff98dc35.zip | |
Add a "special" rust_log flag to be used for debugging in cases where the full log output prevents races from occurring.
Diffstat (limited to 'src/rt/rust_log.cpp')
| -rw-r--r-- | src/rt/rust_log.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
