diff options
author | Jean Boussier <[email protected]> | 2025-03-27 12:25:08 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-03-28 12:44:53 +0900 |
commit | ec171b4075407d02698a445e169f57fd68a9dcfc () | |
tree | 699ff6c756f7d364cc7896798ba5a1ff04076125 /ext/json/parser/extconf.rb | |
parent | e8c46f4ca5e6ba2638fbfc81fdb9d141cd88e99a (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://.com/ruby/json/commit/f411ddf1ce
Notes: Merged: https://.com/ruby/ruby/pull/13004
-rw-r--r-- | ext/json/parser/extconf.rb | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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") |