mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3df16924b4
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"]`. |
||
---|---|---|
.. | ||
bundler | ||
dummy-rake-compiler/rake | ||
lib | ||
m4 | ||
releng | ||
ruby_vm | ||
test | ||
asm_parse.rb | ||
bisect.sh | ||
build-transcode | ||
checksum.rb | ||
ci_functions.sh | ||
colors | ||
darwin-cc | ||
disable_ipv6.sh | ||
downloader.rb | ||
enc-emoji-citrus-gen.rb | ||
enc-emoji4unicode.rb | ||
enc-unicode.rb | ||
eval.rb | ||
expand-config.rb | ||
extlibs.rb | ||
fake.rb | ||
fetch-bundled_gems.rb | ||
file2lastrev.rb | ||
format-release | ||
gem-unpack.rb | ||
gen-mailmap.rb | ||
gen_dummy_probes.rb | ||
gen_ruby_tapset.rb | ||
generic_erb.rb | ||
git-refresh | ||
gperf.sed | ||
id2token.rb | ||
ifchange | ||
insns2vm.rb | ||
install-sh | ||
intern_ids.rb | ||
leaked-globals | ||
make-snapshot | ||
make_hgraph.rb | ||
mdoc2man.rb | ||
merger.rb | ||
mjit_archflag.sh | ||
mjit_tabs.rb | ||
mk_builtin_loader.rb | ||
mkconfig.rb | ||
mkrunnable.rb | ||
node_name.rb | ||
parse.rb | ||
prereq.status | ||
probes_to_wiki.rb | ||
pure_parser.rb | ||
rbinstall.rb | ||
rbuninstall.rb | ||
redmine-backporter.rb | ||
release.sh | ||
rmdirs | ||
run-gcov.rb | ||
run-lcov.rb | ||
runruby.rb | ||
search-cgvars.rb | ||
strip-rdoc.rb | ||
sync_default_gems.rb | ||
test-bundled-gems.rb | ||
test-coverage.rb | ||
transcode-tblgen.rb | ||
transform_mjit_header.rb | ||
travis_retry.sh | ||
travis_wait.sh | ||
update-bundled_gems.rb | ||
update-deps | ||
vtlh.rb | ||
wasm-clangw | ||
ytab.sed |