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

libbpf-cargo: Make type_default() a free-standing function #737

Merged
merged 1 commit into from
Mar 21, 2024
Merged

libbpf-cargo: Make type_default() a free-standing function #737

merged 1 commit into from
Mar 21, 2024

Conversation

danielocfb
Copy link
Collaborator

Factor out a new free-standing function, type_default(), that generates the "default" of a Rust type represented by the given BTF type.

Factor out a new free-standing function, type_default(), that generates
the "default" of a Rust type represented by the given BTF type.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit e46903b into libbpf:master Mar 21, 2024
12 checks passed
@danielocfb danielocfb deleted the topic/type-dflt branch March 21, 2024 18:48
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