Initialize external GC Library

Co-Authored-By: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
Matt Valentine-House 2024-04-02 13:52:50 +01:00
parent a2ea4ec30c
commit 065710c0f5
6 changed files with 79 additions and 4 deletions

View file

@ -20,3 +20,13 @@ dln_symbol(void *handle, const char *symbol)
UNREACHABLE_RETURN(NULL);
}
NORETURN(void *dln_open(const char*));
void*
dln_open(const char *library)
{
rb_loaderror("this executable file can't load extension libraries");
UNREACHABLE_RETURN(NULL);
}