1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Peter Zhu 3df16924b4 [Feature #18249] Implement ABI checking
Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which
is the ABI version. This value should be bumped whenever an ABI
incompatible change is introduced.

When loading dynamic libraries, Ruby will compare its own
`ruby_abi_version` and the `ruby_abi_version` of the loaded library. If
these two values don't match it will raise a `LoadError`. This feature
can also be turned off by setting the environment variable
`RUBY_RUBY_ABI_CHECK=0`.

This feature will prevent cases where previously installed native gems
fail in unexpected ways due to incompatibility of changes in header
files. This will force the developer to recompile their gems to use the
same header files as the built Ruby.

In Ruby, the ABI version is exposed through
`RbConfig::CONFIG["ruby_abi_version"]`.
2022-02-22 09:55:21 -05:00
..
-test- [Feature #18249] Implement ABI checking 2022-02-22 09:55:21 -05:00
bigdecimal [ruby/bigdecimal] Version 3.1.2 2022-01-24 10:56:37 +09:00
cgi/escape [ruby/cgi] Check integer overflow in long range 2021-12-12 13:05:15 +09:00
continuation Update dependencies 2021-11-21 16:21:18 +09:00
coverage Fix typos 2021-11-02 19:17:37 +09:00
date Update dependencies 2021-11-21 16:21:18 +09:00
digest [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
etc [ruby/etc] Exclude change logs for pre 1.0 2022-01-21 12:22:04 +09:00
fcntl [ruby/fcntl] adding few FreeBSD specific flags. 2022-01-15 18:56:15 +09:00
fiddle Do not need to print to stderr 2022-01-26 10:05:10 +09:00
io [ruby/io-wait] Exclude rake files from packages 2022-02-01 20:04:15 +09:00
json Update dependencies 2021-11-21 16:21:18 +09:00
monitor Update dependencies 2021-11-21 16:21:18 +09:00
nkf Update dependencies 2021-11-21 16:21:18 +09:00
objspace objspace: Hide identhash containing internal objs 2022-02-09 17:32:43 -08:00
openssl [ruby/openssl] Ruby/OpenSSL 3.0.0 2021-12-25 03:31:59 +09:00
pathname [ruby/pathname] Officially drop support for ruby 2.6 or older 2022-01-25 08:50:31 +09:00
psych [ruby/psych] Add strict_integer option to parse numbers with commas as strings 2022-01-22 10:00:51 +09:00
pty [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
racc/cparse Update dependencies 2021-11-21 16:21:18 +09:00
rbconfig/sizeof Update dependencies 2021-11-21 16:21:18 +09:00
readline [ruby/readline-ext] Bump version to 0.1.4 2021-12-24 17:53:52 +09:00
ripper ext/ripper/lib/ripper/lexer.rb: Do not deprecate Ripper::Lexer::State#[] 2021-12-09 00:30:17 +09:00
rubyvm
socket [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
stringio Update dependencies 2021-11-21 16:21:18 +09:00
strscan Update dependencies 2021-11-21 16:21:18 +09:00
syslog Update dependencies 2021-11-21 16:21:18 +09:00
win32 Fix some typos by spell checker 2021-04-26 10:07:41 +09:00
win32ole [ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warning 2021-12-30 21:13:11 +09:00
zlib [ruby/zlib] [DOC] Fix typo in Zlib.adler32_combine 2022-02-22 18:01:53 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
extmk.rb transcode-tblgen.rb: make silent a little when just -v 2020-12-29 17:45:19 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00