diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-10 17:26:28 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-10 17:28:03 +0900 |
commit | 42e8de8db9c009fef41694db3e14d6d4500d6848 (patch) | |
tree | e14dc3c4b46ee64d1b26565d8c0804edc8be1ca9 /template | |
parent | 967ae6278f8429dc268f8d3252de048eba86fe29 (diff) | |
download | ruby-42e8de8db9c009fef41694db3e14d6d4500d6848.tar.gz |
Fix for cross_compiling
`RubyVM.each_builtin` is not defined when cross compiling.
Diffstat (limited to 'template')
-rw-r--r-- | template/builtin_binary.inc.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/builtin_binary.inc.tmpl b/template/builtin_binary.inc.tmpl index eb0bded3d9..e3941d8978 100644 --- a/template/builtin_binary.inc.tmpl +++ b/template/builtin_binary.inc.tmpl @@ -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[] = { |