about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-21 09:39:00 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-21 10:02:48 -0800
commitd84c3369f732233adf0a80056d43dbc36d813aae (patch)
treec195320804df3341812e750612e585e3b20bfaf5
parent254e35c268df93a6cb6735b99e3fd91481606577 (diff)
Remove no-debug-borrows from the makefiles
-rw-r--r--Makefile.in5
-rw-r--r--src/librustdoc/test.rs2
2 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 5d476013612..7f1a6945d8a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -124,11 +124,6 @@ endif
 ifdef TRACE
   CFG_RUSTC_FLAGS += -Z trace
 endif
-ifndef DEBUG_BORROWS
-  RUSTFLAGS_STAGE0 += -Z no-debug-borrows
-  RUSTFLAGS_STAGE1 += -Z no-debug-borrows
-  RUSTFLAGS_STAGE2 += -Z no-debug-borrows
-endif
 
 # The executables crated during this compilation process have no need to include
 # static copies of libstd and libextra. We also generate dynamic versions of all
diff --git a/src/librustdoc/test.rs b/src/librustdoc/test.rs
index 53a1e5697ef..4d8df829a94 100644
--- a/src/librustdoc/test.rs
+++ b/src/librustdoc/test.rs
@@ -104,7 +104,7 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>) {
         maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
         addl_lib_search_paths: @RefCell::new(libs),
         outputs: ~[session::OutputExecutable],
-        debugging_opts: session::prefer_dynamic,
+        debugging_opts: session::PREFER_DYNAMIC,
         .. (*session::basic_options()).clone()
     };