-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Labels
Description
I'm using libloading in a work-in-progress large project; there's a part of the project's design which necessitates returning a raw os symbol. Unfortunately your library currently forces me to write the following:
#[cfg(not(windows))]
use libloading::os::unix::Symbol as LibSymbol;
#[cfg(windows)]
use libloading::os::windows::Symbol as LibSymbol;
Which is messier than I'd like. Could you please add a generic export of os symbols (i.e. ::os::raw::*) to provide a cleaner import of the os symbols, just like std does. Thanks :)