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

ruby-changes:70708

From: Nobuyoshi <ko1@a...>
Date: Sun, 2 Jan 2022 15:17:14 +0900 (JST)
Subject: [ruby-changes:70708] 1136985cc0 (master): [ruby/etc] Note for rb_deprecate_constant [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=1136985cc0

From 1136985cc06fe0f261eb2fd1abd12cf983f5dd59 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 2 Jan 2022 15:15:52 +0900
Subject: [ruby/etc] Note for rb_deprecate_constant [ci skip]

https://github.com/ruby/etc/commit/f87fe7ad93
---
 ext/etc/extconf.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb
index 6e7810a5e87..159b1614b7d 100644
--- a/ext/etc/extconf.rb
+++ b/ext/etc/extconf.rb
@@ -47,6 +47,7 @@ if !File.exist?("#{srcdir}/depend") https://github.com/ruby/ruby/blob/trunk/ext/etc/extconf.rb#L47
   %x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
 end
 
+# TODO: remove when dropping 2.7 support, as exported since 3.0
 have_func('rb_deprecate_constant(Qnil, "None")')
 
 $distcleanfiles << "constdefs.h"
-- 
cgit v1.2.1


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

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