Add vec debugging utility to _vec module.

This commit is contained in:
Roy Frostig
2010-08-12 13:11:49 -07:00
parent 5267b77d3b
commit 445d3fe39c
4 changed files with 25 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ read_type_bit_mask() {
bits |= strstr(env_str, "cache") ? rust_log::CACHE : 0;
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, "all") ? rust_log::ALL : 0;
bits = strstr(env_str, "none") ? 0 : bits;
}