When running cargo run --example window on e.g. NetBSD, it throws error ld: cannot find -ldl.
dlopen.rs is built for *BSD as well as Linux.
But *BSD does not have libdl (dlopen, etc. is contained in libc, or no library is required for it).
Furthermore, dlopen seems no longer used?
Yes, it certainly appears that the dlopen module is unused. I don't know how long it's been unused, but according to blame, the #![allow(dead_code)] attribute in that file is over 4 years old.
I can't see any reason to keep the module.
Thanks! Works fine.
Most helpful comment
Yes, it certainly appears that the
dlopenmodule is unused. I don't know how long it's been unused, but according to blame, the#![allow(dead_code)]attribute in that file is over 4 years old.I can't see any reason to keep the module.