From c99802a732c58ce0cd834b4fd0326a2ba3e86239 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Mon, 13 Jul 2026 09:25:04 +0200 Subject: [PATCH] Rely on Ruby's HAVE_BUILTIN___BUILTIN_CLZLL We don't need to perform out own checks. Fix: https://github.com/ruby/json/pull/1052 --- ext/json/ext/parser/extconf.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb index 9e141a72..a0358ccc 100644 --- a/ext/json/ext/parser/extconf.rb +++ b/ext/json/ext/parser/extconf.rb @@ -15,22 +15,6 @@ have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby have_func("ruby_xfree_sized", "ruby.h") # RUBY_VERSION >= 4.1 -def have_builtin_func(name, check_expr, opt = "", &b) - checking_for checking_message(name.funcall_style, nil, opt) do - if try_compile(<