servo: Merge #6245 - Change not(ndebug) to debug_assertions (from mbrubeck:ndebug); r=SimonSapin

The name of this directive changed in rust-lang/rust#22980.

Source-Repo: https://github.com/servo/servo
Source-Revision: c724444ccb85551b5a0a581d673875ec9bce3d1f
This commit is contained in:
Matt Brubeck
2015-06-01 15:53:02 -05:00
parent 0062ab7e16
commit df6bbba84d
4 changed files with 14 additions and 14 deletions

View File

@@ -529,7 +529,7 @@ impl ScriptTask {
}
// Needed for debug assertions about whether GC is running.
if !cfg!(ndebug) {
if cfg!(debug_assertions) {
unsafe {
JS_SetGCCallback(runtime.rt(),
Some(debug_gc_callback as unsafe extern "C" fn(*mut JSRuntime, JSGCStatus)));