Revert "Disable iseq-dumped builtin module for universal x86_64/arm64 binaries"
This reverts commit 1d5598fe0d3470e7cab06a756d40a9221fcd501b.
This commit is contained in:
parent
486b674e2a
commit
40d40a651e
@ -3,7 +3,7 @@
|
||||
#include "iseq.h"
|
||||
#include "builtin.h"
|
||||
|
||||
#if defined(CROSS_COMPILING) || defined(UNIVERSAL_BINARY)
|
||||
#ifdef CROSS_COMPILING
|
||||
|
||||
#define INCLUDED_BY_BUILTIN_C 1
|
||||
#include "mini_builtin.c"
|
||||
|
@ -1303,7 +1303,7 @@ preludes: {$(srcdir)}golf_prelude.c
|
||||
|
||||
builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary.inc.tmpl
|
||||
$(Q) $(MINIRUBY) $(tooldir)/generic_erb.rb -o $@ \
|
||||
$(srcdir)/template/builtin_binary.inc.tmpl -- --cross=$(CROSS_COMPILING) --universal=$(UNIVERSAL_BINARY)
|
||||
$(srcdir)/template/builtin_binary.inc.tmpl -- --cross=$(CROSS_COMPILING)
|
||||
|
||||
$(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb
|
||||
|
||||
|
@ -4367,8 +4367,6 @@ AS_IF([test "${universal_binary-no}" = yes ], [
|
||||
AC_DEFINE_UNQUOTED(RUBY_PLATFORM_OS, "${target_os}")
|
||||
AC_DEFINE_UNQUOTED(RUBY_ARCH, "universal-" RUBY_PLATFORM_OS)
|
||||
AC_DEFINE_UNQUOTED(RUBY_PLATFORM, "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS)
|
||||
AC_DEFINE(UNIVERSAL_BINARY, 1)
|
||||
AC_SUBST(UNIVERSAL_BINARY, yes)
|
||||
], [
|
||||
AS_IF([test "${target_os}-${rb_cv_msvcrt}" = "mingw32-ucrt" ], [
|
||||
arch="${target_cpu}-mingw-ucrt"
|
||||
|
@ -65,7 +65,6 @@ rubyarchhdrdir = @rubyarchhdrdir@
|
||||
ruby_version = @ruby_version@
|
||||
RUBY_VERSION_NAME = @RUBY_VERSION_NAME@
|
||||
UNIVERSAL_ARCHNAMES = @UNIVERSAL_ARCHNAMES@
|
||||
UNIVERSAL_BINARY = @UNIVERSAL_BINARY@
|
||||
|
||||
TESTUI = console
|
||||
TESTS =
|
||||
|
@ -2,7 +2,7 @@
|
||||
// DO NOT MODIFY THIS FILE DIRECTLY.
|
||||
// auto-generated file by tool/generic_erb.rb
|
||||
// with template/builtin_binary.inc.tmpl
|
||||
% unless ARGV.include?('--cross=yes') || ARGV.include?('--universal=yes')
|
||||
% unless ARGV.include?('--cross=yes')
|
||||
% ary = RubyVM.enum_for(:each_builtin).to_a
|
||||
% ary.each{|feature, iseq|
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user