Skip to content

libloading support #1541

Closed
Closed
@Wenzel

Description

@Wenzel

Hi,

I would like to rewrite a virtual machine introspection library in Rust:
https://github.com/libvmi/libvmi

This library is building a unified API accross hypervisor's VMI APIs.

I considered bindgen for the task, which would be perfect to generate a kvm-sys or xen-sys crate, but I have a requirement that it should be able to load these libraries dynamically, at runtime, by locating a lib.so file, loading it with libloading. like a plugin.
https://docs.rs/libloading/0.5.0/libloading/

I haven't found anything in the docs regarding dynamic loading.

Is it a use case that have already think about ?
How difficult would it be to implement ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions