• Kevin Modzelewski's avatar
    Properly throw ImportErrors on dlopen failure · 9e1ed8ab
    Kevin Modzelewski authored
    I think it'd be nicer to just abort() like we do here, but
    cffi is actually testing this behavior (that loading an invalid
    library causes an ImportError).
    
    This is being exposed now because before, the library would fail
    to compile due to -Werror=implicit-function-declaration and not even
    get to the loading step.
    9e1ed8ab
import.cpp 5.53 KB