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-log-ebpf-macros: fix compile errors #613

Merged
merged 1 commit into from
May 28, 2023
Merged

Commits on May 28, 2023

  1. aya-log-ebpf-macros: fix compile errors

    aya-log-ebpf-macros was failing to compile because it was referencing
    a couple of `DisplayHint` variants that no longer exist. These were
    removed in aya-rs#599.
    
    ```
        Compiling aya-log-ebpf-macros v0.1.0 (/home/robert/aya/aya-log-ebpf-macros)
    error[E0599]: no variant or associated item named `Ipv4` found for enum `DisplayHint` in the current scope
      --> aya-log-ebpf-macros/src/expand.rs:93:22
       |
    93 |         DisplayHint::Ipv4 => parse_str("::aya_log_ebpf::macro_support::check_impl_ipv4"),
       |                      ^^^^ variant or associated item not found in `DisplayHint`
    
    error[E0599]: no variant or associated item named `Ipv6` found for enum `DisplayHint` in the current scope
      --> aya-log-ebpf-macros/src/expand.rs:94:22
       |
    94 |         DisplayHint::Ipv6 => parse_str("::aya_log_ebpf::macro_support::check_impl_ipv6"),
       |                      ^^^^ variant or associated item not found in `DisplayHint`
    
    For more information about this error, try `rustc --explain E0599`.
    ```
    rbartlensky committed May 28, 2023
    Configuration menu
    Copy the full SHA
    160e215 View commit details
    Browse the repository at this point in the history