about summary refs log tree commit diff
path: root/src/libcore/rt
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-05-03 05:42:00 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-05-03 05:42:00 -0400
commit34024353e86e22e459a1981f563e3d4f43906432 (patch)
treeb9984481268376f1858195de87e354bd3793f7f8 /src/libcore/rt
parent9bded762601e47b16bd97ef4439536fb9d7af0cd (diff)
downloadrust-34024353e86e22e459a1981f563e3d4f43906432.tar.gz
rust-34024353e86e22e459a1981f563e3d4f43906432.zip
Change borrow debugging so it is disabled by -O
Diffstat (limited to 'src/libcore/rt')
-rw-r--r--src/libcore/rt/env.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcore/rt/env.rs b/src/libcore/rt/env.rs
index 1f52cf77868..e479375401a 100644
--- a/src/libcore/rt/env.rs
+++ b/src/libcore/rt/env.rs
@@ -33,8 +33,6 @@ pub struct Environment {
     argv: **c_char,
     /// Print GC debugging info (true if env var RUST_DEBUG_MEM is set)
     debug_mem: bool,
-    /// Track origin of `@mut` borrows (true if env var RUST_DEBUG_BORROWS is set)
-    debug_borrows: bool
 }
 
 /// Get the global environment settings