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

linux: ensure dynamic library loads report clear error messages #1327

Open
emidoots opened this issue Dec 31, 2024 · 1 comment
Open

linux: ensure dynamic library loads report clear error messages #1327

emidoots opened this issue Dec 31, 2024 · 1 comment
Labels
bug Something isn't working os/linux

Comments

@emidoots
Copy link
Member

throughout the codebase we use std.DynLib to dynamically load libraries such as Vulkan, Wayland, X11, etc.

The goal of this issue is to ensure that when such libraries are not available and an error would be reported to the user, that it is a clear and well-explained error rather than something obscure like FileNotFound bubbling up the stack.

https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/hexops/mach%24+std.DynLib.open&patternType=keyword&sm=0

@emidoots emidoots added bug Something isn't working os/linux labels Dec 31, 2024
@Keerpich
Copy link
Contributor

Keerpich commented Feb 2, 2025

I think PR #1328 fixed this, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os/linux
Projects
None yet
Development

No branches or pull requests

2 participants