From 042860bd65532fea95159774da94adc48bf7b958 Mon Sep 17 00:00:00 2001 From: Duncan MacGregor Date: Fri, 5 Feb 2021 12:03:39 +0000 Subject: [PATCH] [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 32ad9d3311..e8c5923b18 100644 --- a/ext/io/console/extconf.rb +++ b/ext/io/console/extconf.rb @@ -1,7 +1,7 @@ # 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", "")