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

Make shared library error message helpful #1438

Open
abergmeier opened this issue Jan 30, 2023 · 0 comments
Open

Make shared library error message helpful #1438

abergmeier opened this issue Jan 30, 2023 · 0 comments

Comments

@abergmeier
Copy link

abergmeier commented Jan 30, 2023

I get an error:

thread 'main' panicked at 'couldn't write to "./src/lib.rs": Custom { kind: Other, error: "No shared library found, but functions were found" }'

@sdroege explained that it means:

your gir file is incomplete. it has no library entry

So maybe the error could be improved to:

No shared library found, but functions were found.
namespace {} in file {} has empty or missing shared_library entry.

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

No branches or pull requests

1 participant