aya-obj: fix compilation with nightly

pull/558/head
Alessandro Decina 2 years ago
parent b614ffd603
commit dfbe1207c1

@ -18,7 +18,9 @@ mod linux_bindings_riscv64;
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
mod linux_bindings_x86_64; mod linux_bindings_x86_64;
pub use btf_internal_bindings::*; // don't re-export __u8 __u16 etc which are already exported by the
// linux_bindings_* module
pub use btf_internal_bindings::{bpf_core_relo, bpf_core_relo_kind, btf_ext_header};
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
pub use linux_bindings_x86_64::*; pub use linux_bindings_x86_64::*;

Loading…
Cancel
Save