Skip to content

Commit

Permalink
Merge pull request #280 from krsh/riscv64-arch
Browse files Browse the repository at this point in the history
Add riscv64 bindings
  • Loading branch information
dave-tucker committed May 23, 2022
2 parents de1559a + a9c0fcc commit c385d18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bpf/aya-bpf-bindings/src/lib.rs
Expand Up @@ -10,6 +10,9 @@ mod armv7;
#[cfg(bpf_target_arch = "aarch64")]
mod aarch64;

#[cfg(bpf_target_arch = "riscv64")]
mod riscv64;

mod gen {
#[cfg(bpf_target_arch = "x86_64")]
pub use super::x86_64::*;
Expand All @@ -19,6 +22,9 @@ mod gen {

#[cfg(bpf_target_arch = "aarch64")]
pub use super::aarch64::*;

#[cfg(bpf_target_arch = "riscv64")]
pub use super::riscv64::*;
}
pub use gen::{getters, helpers};

Expand Down

0 comments on commit c385d18

Please sign in to comment.