rust_libloading icon indicating copy to clipboard operation
rust_libloading copied to clipboard

Bindings around the platform's dynamic library loading primitives with greatly improved memory safety.

Results 16 rust_libloading issues
Sort by recently updated
recently updated
newest added

I'm running into an issue with static thread local storage that contains a heap-allocated object when loading a library. The main program loop is as follows: ```rust fn main() ->...

Hi, I've just published [`reflective_pe_dll_loader`](https://crates.io/crates/reflective_pe_dll_loader) and decided to share this piece of news with you. I don't know if you want to one day support reflective loading but you can...

As the description of dlopen is `If the filename is NULL, then the returned handle is for the main program.` It looks like `libloading` don't provide the feature, if filePath...

The dll file is [https://github.com/zhuyu4839/zlgcan-driver/blob/main/zlgcan/library/windows/x86_64/zlgcan.dll](url) The function named `GetIProperty`, `ReleaseIProperty`, `ZCAN_GetValue`, `ZCAN_SetValue` can't found `called `Result::unwrap()` on an `Err` value: GetProcAddress { source: Os { code: 127, kind: Uncategorized, message:...

I want to use libloading to share some static variable by once_cell, but it is still `None` after I change it. like this: ```rust let cell = value_from_lib(); cell.set(10).unwrap(); let...

question

If a raw symbol is created and never used, it's impossible to cause undefined behavior, even if the library is unloaded - creating a raw symbol isn't unsafe, using it...

I needed the ability the cache multiple `Symbol`s in a struct across FFI calls. I didn't want to use a self referental struct, so instead I created a `OwnedSymbol` type...

enhancement

Currently, it's not possible to name the underlying raw lifetime-less `Symbol` type in a cross-platform manner without the user adding some platform-specific compiler flags and re-exporting it from each `os`...

`cargo build --target asmjs-unknown-emscripten` gave me the following output : ``` Compiling libloading v0.3.4 error: failed to run custom build command for `libloading v0.3.4` process didn't exit successfully: `/home/yoon/git/trust/fate-rs/target/debug/build/libloading-b2c9bb378ef0f558/build-script-build` (exit...

enhancement
help wanted