summaryrefslogtreecommitdiff
path: root/ext/json/parser/extconf.rb
diff options
authorJean Boussier <[email protected]>2025-03-27 12:25:08 +0100
committerHiroshi SHIBATA <[email protected]>2025-03-28 12:44:53 +0900
commitec171b4075407d02698a445e169f57fd68a9dcfc (patch)
tree699ff6c756f7d364cc7896798ba5a1ff04076125 /ext/json/parser/extconf.rb
parente8c46f4ca5e6ba2638fbfc81fdb9d141cd88e99a (diff)
[ruby/json] Move `create_addtions` logic in Ruby.
By leveraging the `on_load` callback we can move all this logic out of the parser. Which mean we no longer have to duplicate that logic in both parser and that we'll later be able to extract it entirely from the gem. https://github.com/ruby/json/commit/f411ddf1ce
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13004
Diffstat (limited to 'ext/json/parser/extconf.rb')
-rw-r--r--ext/json/parser/extconf.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/json/parser/extconf.rb b/ext/json/parser/extconf.rb
index a8e21aed4b..09c9637788 100644
--- a/ext/json/parser/extconf.rb
+++ b/ext/json/parser/extconf.rb
@@ -4,7 +4,6 @@ require 'mkmf'
have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
-have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby
have_func("strnlen", "string.h") # Missing on Solaris 10
append_cflags("-std=c99")