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

Mark link with must_use #951

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Mark link with must_use #951

merged 1 commit into from
Sep 24, 2024

Conversation

lbrndnr
Copy link
Contributor

@lbrndnr lbrndnr commented Sep 24, 2024

This is a small fix that marks Link with must_use, as discussed in #940. This makes it clear right away that the program will detach immediately if not used.

@d-e-s-o d-e-s-o merged commit d97de76 into libbpf:master Sep 24, 2024
13 checks passed
@d-e-s-o
Copy link
Collaborator

d-e-s-o commented Sep 24, 2024

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants