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

aya: remove unwrap and NonZero* in info #5

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

tyrone-wu
Copy link
Owner

Addresses the feedback from aya-rs#1007:

  • remove panic from unwrap and expect
  • Option<NonZero*> => Option with 0 mapping to None
  • use aya_ebpf::binding in u32 conversion in prog, link, and attach type for more straightforward matching

Refs: aya-rs#1007

Addresses the feedback from aya-rs#1007:
- remove panic from `unwrap` and `expect`
- Option<NonZero*> => Option<int> with `0` mapping to `None`
- use `aya_ebpf::binding` in `u32` conversion in prog, link, and attach type for
  more straightforward matching

Refs: aya-rs#1007
@tyrone-wu tyrone-wu merged commit 8c4dbd7 into dev Sep 6, 2024
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.

1 participant