summary refs log tree commit diff
path: root/src/libcore/rt
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-05-04 14:25:15 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-05-04 14:25:15 -0400
commitbf2d3c71e37d3b7aabe57a3d9ea3fada449715c1 (patch)
tree794207f2a04a438f4d504ef053ddb3e0f270d404 /src/libcore/rt
parent0ff8200671c38e0068ba40267d02f99737e77cab (diff)
improve DEBUG_BORROW printouts
Diffstat (limited to 'src/libcore/rt')
-rw-r--r--src/libcore/rt/env.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/rt/env.rs b/src/libcore/rt/env.rs
index e479375401a..1d7ff173149 100644
--- a/src/libcore/rt/env.rs
+++ b/src/libcore/rt/env.rs
@@ -33,6 +33,8 @@ pub struct Environment {
     argv: **c_char,
     /// Print GC debugging info (true if env var RUST_DEBUG_MEM is set)
     debug_mem: bool,
+    /// Print GC debugging info (true if env var RUST_DEBUG_BORROW is set)
+    debug_borrow: bool,
 }
 
 /// Get the global environment settings