From 42e8de8db9c009fef41694db3e14d6d4500d6848 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 10 May 2020 17:26:28 +0900 Subject: Fix for cross_compiling `RubyVM.each_builtin` is not defined when cross compiling. --- template/builtin_binary.inc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = { -- cgit v1.2.3