[前][次][番号順一覧][スレッド一覧]

ruby-changes:73417

From: Nobuyoshi <ko1@a...>
Date: Mon, 5 Sep 2022 11:16:53 +0900 (JST)
Subject: [ruby-changes:73417] 85a483169f (master): Use cross compiling settings as fake.rb for snapshots

https://git.ruby-lang.org/ruby.git/commit/?id=85a483169f

From 85a483169f8381bec08ff2c9a9fc66167fc8a84a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 5 Sep 2022 11:09:24 +0900
Subject: Use cross compiling settings as fake.rb for snapshots

---
 tool/make-snapshot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/make-snapshot b/tool/make-snapshot
index 4c097d6c9b..a54f254dc2 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -436,7 +436,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L436
         # use fallback file
       end
       clean.create("config.status", status)
-      clean.create("noarch-fake.rb")
+      clean.create("noarch-fake.rb", "require_relative 'cross'\n")
       FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
       File.binwrite("#{hdrdir}/config.h", "")
       FileUtils.mkpath(defaults = "#{extout}/rubygems/defaults")
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]