rust_libloading
rust_libloading copied to clipboard
Bindings around the platform's dynamic library loading primitives with greatly improved memory safety.
Operating system is Fedora 27. ``` uname -r 4.15.4-300.fc27.x86_64 ``` When running ```cargo test``` multiple times, sometimes test fails raising a segmentation fault. ```rust #[test] fn libloading() { let lib...
Return values from functions that contain `'static` lifetimes are not reduced to the lifetime of the loaded library, and can outlive it. Preventing this is probably impossible (especially when the...
Hello, Currently you can do `Library::new()` which loads a library. For my use case it would be create to have `Library::open` that opens an already existing library. - I'm trying...
This commit uses version ranges to accurately specify the minimum version of the dependencies required for this library to work. These version bounds are verified in the CI with `-Zminimal-versions`...
Since adding the `Clone` functionality I have been experimenting with cloning `Symbol`s. I noticed that it is possible to clone a dereferenced `Symbol`. This may cause undefined behavior. In particular...
Hi, thanks for making this library, it's really useful to me. Unfortunately, when trying out a really simple use case, I get an Illegal Hardware Instruction error. The Rust code...
I'm nearly certain I'm doing something architecturally wrong so I'll start from the problem I'm trying to solve and someone can tell me the right way to do this. 😁...