From b78b33b7f5ca276c532868c1328a1afba8e6919a Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 1 Jun 2015 13:48:38 -0700 Subject: Change not(ndebug) to debug_assertions The name of this directive changed in rust-lang/rust#22980. --- components/script/script_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/script_task.rs') diff --git a/components/script/script_task.rs b/components/script/script_task.rs index cad737b4af4..ff13cc12ff0 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -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))); -- cgit v1.2.3