Fix for cross_compiling

`RubyVM.each_builtin` is not defined when cross compiling.
This commit is contained in:
Nobuyoshi Nakada 2020-05-10 17:26:28 +09:00
parent 967ae6278f
commit 42e8de8db9
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -1,9 +1,9 @@
// -*- c -*-
% ary = RubyVM.enum_for(:each_builtin).to_a
// DO NOT MODIFY THIS FILE DIRECTLY.
// auto-generated file by tool/generic_erb.rb
// with template/builtin_binary.inc.tmpl
% unless ARGV.include?('--corss=yes')
% ary = RubyVM.enum_for(:each_builtin).to_a
% ary.each{|feature, iseq|
static const unsigned char <%= feature %>_bin[] = {