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

ruby-changes:65924

From: Duncan <ko1@a...>
Date: Thu, 22 Apr 2021 11:52:00 +0900 (JST)
Subject: [ruby-changes:65924] 042860bd65 (master): [ruby/io-console] Enable building the C extension on TruffleRuby.

https://git.ruby-lang.org/ruby.git/commit/?id=042860bd65

From 042860bd65532fea95159774da94adc48bf7b958 Mon Sep 17 00:00:00 2001
From: Duncan MacGregor <duncan.macgregor@o...>
Date: Fri, 5 Feb 2021 12:03:39 +0000
Subject: [ruby/io-console] Enable building the C extension on TruffleRuby.

https://github.com/ruby/io-console/commit/c17b8cf3a9
---
 ext/io/console/extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index 32ad9d3..e8c5923 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/io/console/extconf.rb#L1
 # frozen_string_literal: false
 require 'mkmf'
 
-ok = true if RUBY_ENGINE == "ruby"
+ok = true if RUBY_ENGINE == "ruby" || RUBY_ENGINE == "truffleruby"
 hdr = nil
 case
 when macro_defined?("_WIN32", "")
-- 
cgit v1.1


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

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