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-gen: Disable Debug derive for BTF types #250

Merged
merged 1 commit into from May 4, 2022

Commits on May 4, 2022

  1. aya-gen: Disable Debug derive for BTF types

    It's a workaround for the upstream bindgen issue:
    
    rust-lang/rust-bindgen#2083
    
    tl;dr: Rust nightly complains about #[repr(packed)] structs deriving
    Debug without Copy.
    
    It needs to be fixed properly upstream, but for now we have to disable
    Debug derive here.
    
    Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
    vadorovsky committed May 4, 2022
    Configuration menu
    Copy the full SHA
    bd336ac View commit details
    Browse the repository at this point in the history