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

Update libbpf (C) in libbpf-{rs,sys} cargo crate to 1.3.0 #654

Closed
telbizov opened this issue Jan 24, 2024 · 6 comments
Closed

Update libbpf (C) in libbpf-{rs,sys} cargo crate to 1.3.0 #654

telbizov opened this issue Jan 24, 2024 · 6 comments

Comments

@telbizov
Copy link

Hello folks,

Apologies if there's a better way to report this, but I am new to rust and libbpf-rs so please redirect me appropriately.

I'm rewriting part of a project from C to Rust and trying to use libbpf-rs for the userland components. I installed libbpf-rs = "0.22.1" via cargo and I noticed that it packages libbpf (C) in itself. However, it seems like it carries version 1.2 while latest version is 1.3.0.

I was wondering if it would be possible to upgrade the crate to the latest 1.3.0?

Example failure that I encountered is that programs with the new SEC("tc/ingress") are rejected while the older SEC("tc") syntax is still supported.

Thank you in advance,
Rumen Telbizov

@danielocfb
Copy link
Collaborator

Such an update has been done as part of libbpf/libbpf-sys#72. Alas, the maintainer is non-responsive to asks for a new release.

cc @anakryiko who may have permissions to cut a new release as well

@danielocfb
Copy link
Collaborator

That being said, you can always use a system libbpf or consume libbpf-sys from the respective tree.

@anakryiko
Copy link
Member

cc @anakryiko who may have permissions to cut a new release as well

I pinged Alex just now, hopefully he'll cut a release soon.

@telbizov
Copy link
Author

Thanks @anakryiko !

@danielocfb
Copy link
Collaborator

libbpf-sys v1.3.0+v1.3.0 has been published.

@telbizov
Copy link
Author

Tested on my end and confirmed that it works as expected.

Appreciate your help @danielocfb and @anakryiko !

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

3 participants