Skip to content

Commit

Permalink
Show ABI incompatible binary path
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 17, 2022
1 parent 5ae8315 commit 50cfecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dln.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 50cfecd

Please sign in to comment.