From 6f7cb4326bfbccd9101b5130dcdef336ae1fdfac Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Tue, 7 May 2024 21:21:15 -0700 Subject: [PATCH] revert accidentally committed debug code --- src/bindgen/utilities.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bindgen/utilities.rs b/src/bindgen/utilities.rs index a5d566a24..2fe7aa44e 100644 --- a/src/bindgen/utilities.rs +++ b/src/bindgen/utilities.rs @@ -100,9 +100,6 @@ fn is_skip_item_attr(attr: &syn::Meta) -> bool { if let syn::Lit::Str(ref content) = name_value.lit { // FIXME(emilio): Maybe should use the general annotation // mechanism, but it seems overkill for this. - if content.value().contains("XXX") { - panic!("*** XXX *** {}", content.value()); - } if content.value().trim() == "cbindgen:ignore" { return true; }