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

fix(xtask): corrected bpf to ebpf for path to aya-ebpf-bindings in codegen #917

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

tyrone-wu
Copy link
Contributor

Currently, when running cargo +nightly xtask codegen locally and in the codegen GHA workflow, an error occurs with only "Error: bindgen failed" displayed.

This was due to a path using "bpf/..." instead of "ebpf/...". It is now corrected to "ebpf", so the codegen command and GHA workflow shouldn't fail. Additionally, any bindgen fails should now display a more direct message on why it failed.

Fixes: #914

Currently, when running `cargo +nightly xtask codegen` locally and in
the codegen GHA workflow, an error occurs with only "Error: bindgen
failed" displayed.

This was due to a path using "bpf/..." instead of "ebpf/...". It is now
corrected to "ebpf", and bindgen fails should now display a more direct
message on why it failed.

Fixes: aya-rs#914
Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 32ff13f
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/660a47160390a50008ebbf22
😎 Deploy Preview https://deploy-preview-917--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mergify mergify bot added the test A PR that improves test cases or CI label Apr 1, 2024
@tyrone-wu tyrone-wu mentioned this pull request Apr 1, 2024
@tyrone-wu tyrone-wu marked this pull request as ready for review April 1, 2024 05:39
@tyrone-wu tyrone-wu changed the title xtask: corrected bpf to ebpf for path to aya-ebpf-bindings in codegen fix(xtask): corrected bpf to ebpf for path to aya-ebpf-bindings in codegen Apr 1, 2024
@tamird tamird requested a review from dave-tucker April 1, 2024 13:15
Copy link
Member

@tamird tamird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tamird tamird merged commit b23973d into aya-rs:main Apr 1, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test A PR that improves test cases or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instructions on codegen
2 participants