mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show ABI incompatible binary path
This commit is contained in:
parent
5ae83151b1
commit
50cfecd015
1 changed files with 1 additions and 1 deletions
2
dln.c
2
dln.c
|
@ -456,7 +456,7 @@ dln_load(const char *file)
|
|||
unsigned long long (*abi_version_fct)(void) = (unsigned long long(*)(void))dln_sym(handle, "ruby_abi_version");
|
||||
unsigned long long binary_abi_version = (*abi_version_fct)();
|
||||
if (binary_abi_version != ruby_abi_version() && abi_check_enabled_p()) {
|
||||
dln_loaderror("ABI version of binary is incompatible with this Ruby. Try rebuilding this binary.");
|
||||
dln_loaderror("incompatible ABI version of binary - %s", file);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue