1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
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
..
abi [Feature #18249] Implement ABI checking 2022-02-22 09:55:21 -05:00
arith_seq/extract Update dependencies 2021-11-21 16:21:18 +09:00
array Update dependencies 2021-11-21 16:21:18 +09:00
bignum Update dependencies 2021-11-21 16:21:18 +09:00
bug-3571 Update dependencies 2021-11-21 16:21:18 +09:00
bug-5832 Update dependencies 2021-11-21 16:21:18 +09:00
bug-14834 Update dependencies 2021-11-21 16:21:18 +09:00
bug_reporter Update dependencies 2021-11-21 16:21:18 +09:00
class Update dependencies 2021-11-21 16:21:18 +09:00
cxxanyargs Update dependencies 2021-11-21 16:21:18 +09:00
debug Update dependencies 2021-11-21 16:21:18 +09:00
dln/empty
enumerator_kw Update dependencies 2021-11-21 16:21:18 +09:00
exception Update dependencies 2021-11-21 16:21:18 +09:00
fatal Update dependencies 2021-11-21 16:21:18 +09:00
file [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
float Update dependencies 2021-11-21 16:21:18 +09:00
funcall Update dependencies 2021-11-21 16:21:18 +09:00
gvl/call_without_gvl Update dependencies 2021-11-21 16:21:18 +09:00
hash Update dependencies 2021-11-21 16:21:18 +09:00
integer Update dependencies 2021-11-21 16:21:18 +09:00
iseq_load Update dependencies 2021-11-21 16:21:18 +09:00
iter Update dependencies 2021-11-21 16:21:18 +09:00
load Update dependencies 2021-11-21 16:21:18 +09:00
marshal Update dependencies 2021-11-21 16:21:18 +09:00
memory_status Update dependencies 2021-11-21 16:21:18 +09:00
memory_view Update dependencies 2021-11-21 16:21:18 +09:00
method Update dependencies 2021-11-21 16:21:18 +09:00
notimplement Update dependencies 2021-11-21 16:21:18 +09:00
num2int Update dependencies 2021-11-21 16:21:18 +09:00
path_to_class Update dependencies 2021-11-21 16:21:18 +09:00
popen_deadlock dependency updates 2021-04-13 14:30:21 +09:00
postponed_job Avoid assert failure when NULL EC is expected 2021-11-22 19:29:29 -05:00
printf Update dependencies 2021-11-21 16:21:18 +09:00
proc Update dependencies 2021-11-21 16:21:18 +09:00
random Update dependencies 2021-11-21 16:21:18 +09:00
rational Update dependencies 2021-11-21 16:21:18 +09:00
rb_call_super_kw Update dependencies 2021-11-21 16:21:18 +09:00
recursion Update dependencies 2021-11-21 16:21:18 +09:00
regexp Update dependencies 2021-11-21 16:21:18 +09:00
RUBY_ALIGNOF Update dependencies 2021-11-21 16:21:18 +09:00
scan_args Update dependencies 2021-11-21 16:21:18 +09:00
st Update dependencies 2021-11-21 16:21:18 +09:00
string Update dependencies 2021-11-21 16:21:18 +09:00
struct Update dependencies 2021-11-21 16:21:18 +09:00
symbol Update dependencies 2021-11-21 16:21:18 +09:00
thread_fd Update dependencies 2021-11-21 16:21:18 +09:00
time Update dependencies 2021-11-21 16:21:18 +09:00
tracepoint Update dependencies 2021-11-21 16:21:18 +09:00
typeddata Update dependencies 2021-11-21 16:21:18 +09:00
vm Update dependencies 2021-11-21 16:21:18 +09:00
wait Update dependencies 2021-11-21 16:21:18 +09:00
win32 Get rid of defining methods for tests in core classes 2021-01-09 22:38:06 +09:00
auto_ext.rb [ruby/fiddle] Create extconf header for MSVC 2021-09-05 17:31:46 +09:00