Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading libxcb.so and friends through dlopen #88

Open
maroider opened this issue Jun 23, 2020 · 3 comments
Open

Support loading libxcb.so and friends through dlopen #88

maroider opened this issue Jun 23, 2020 · 3 comments
Labels

Comments

@maroider
Copy link

This would allow for building binaries which can run regardless of whether or not the user has libxcb installed. x11-rs already does this by providing the x11-dl crate (after it was requested). This is particularly useful for applications which want to work under both X11 and Wayland.

@rtbo
Copy link
Collaborator

rtbo commented Dec 19, 2021

That feature will be much easier from v1.0 as there is no more linking to the extension libraries (only libxcb.so is linked to).
I will target this for v1.1.

@rtbo rtbo added the v1.1 label Dec 19, 2021
@Be-ing
Copy link

Be-ing commented Feb 14, 2022

The dlib crate is great for this. I recently helped integrate it in the Rust JACK bindings.

@rtbo rtbo added v1.2 and removed v1.1 labels Mar 7, 2022
@Be-ing
Copy link

Be-ing commented Sep 30, 2022

It looks like it would be tricky to use dlib for this due to this crate's custom code generation. It might be better to implement this using the custom code generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants