-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove DL module #8882
Remove DL module #8882
Conversation
|
||
module DL | ||
def self.dlopen(path, mode = LibC::RTLD_LAZY | LibC::RTLD_GLOBAL) : Void* | ||
LibC.dlopen(path, mode) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove the fun
definitions for dlopen
too?
Should be removed from Deprecating it wouldn't hurt either, people might be using it because it's documented. |
In this case I think there is no need for a deprecation cycle. The module is most likely not used in the wild. But we can go that route if that is preferred. I'll wait for reviews. |
I couldn't find any single usage in Crystal repositories available on Github. So I guess it's fine to remove without deprecation (there's certainly Crystal code outside of Github, but it's a very strong indicator that there is really no real world use). |
The module is no longer used, nor included in prelude, and does not offer much functionality.