Skip to content

Commit d84c336

Browse files
committed
Remove no-debug-borrows from the makefiles
1 parent 254e35c commit d84c336

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Makefile.in

-5
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ endif
124124
ifdef TRACE
125125
CFG_RUSTC_FLAGS += -Z trace
126126
endif
127-
ifndef DEBUG_BORROWS
128-
RUSTFLAGS_STAGE0 += -Z no-debug-borrows
129-
RUSTFLAGS_STAGE1 += -Z no-debug-borrows
130-
RUSTFLAGS_STAGE2 += -Z no-debug-borrows
131-
endif
132127

133128
# The executables crated during this compilation process have no need to include
134129
# static copies of libstd and libextra. We also generate dynamic versions of all

src/librustdoc/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>) {
104104
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
105105
addl_lib_search_paths: @RefCell::new(libs),
106106
outputs: ~[session::OutputExecutable],
107-
debugging_opts: session::prefer_dynamic,
107+
debugging_opts: session::PREFER_DYNAMIC,
108108
.. (*session::basic_options()).clone()
109109
};
110110

0 commit comments

Comments
 (0)