Sha256: 6ec1f533268525fc58fbe5e94c1105d336ccc2998a353667b240bd9dc088e992
Contents?: true
Size: 300 Bytes
Versions: 16
Compression:
Stored size: 300 Bytes
Contents
require 'mkmf' if RUBY_ENGINE == 'truffleruby' # The pure-Ruby generator is faster on TruffleRuby, so skip compiling the generator extension File.write('Makefile', dummy_makefile("").join) else append_cflags("-std=c99") $defs << "-DJSON_GENERATOR" create_makefile 'json/ext/generator' end
Version data entries
16 entries across 16 versions & 4 rubygems