summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-12 16:44:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-12 15:57:25 +0900
commitcd1a0b3caaa5446e9258c192cf483b6dfe8d7819 (patch)
tree7dcc4a1f0a2ff245fd7e1f36b4d10994574491f3 /ext/-test-
parenta201cfd0cdb9f613f687dc6fee1908ec54e63c72 (diff)
downloadruby-cd1a0b3caaa5446e9258c192cf483b6dfe8d7819.tar.gz
Stop defining `RUBY_ABI_VERSION` if released versions
As commented in include/ruby/internal/abi.h, since teeny versions of Ruby should guarantee ABI compatibility, `RUBY_ABI_VERSION` has no role in released versions of Ruby.
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/abi/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/-test-/abi/extconf.rb b/ext/-test-/abi/extconf.rb
index d786b15db9..3b090b7553 100644
--- a/ext/-test-/abi/extconf.rb
+++ b/ext/-test-/abi/extconf.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: false
+return unless RUBY_PATCHLEVEL < 0
require_relative "../auto_ext.rb"
auto_ext(inc: true)