Merge pull request #278 from dave-tucker/riscv

riscv scaffolding for codegen
pull/279/head
Dave Tucker 3 years ago committed by GitHub
commit b71fe64a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,11 @@ jobs:
working-directory: libbpf working-directory: libbpf
run: echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV run: echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1
- name: Install headers - name: Install headers

@ -11,6 +11,8 @@ mod btf_internal_bindings;
mod linux_bindings_aarch64; mod linux_bindings_aarch64;
#[cfg(target_arch = "arm")] #[cfg(target_arch = "arm")]
mod linux_bindings_armv7; mod linux_bindings_armv7;
#[cfg(target_arch = "riscv64")]
mod linux_bindings_riscv64;
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
mod linux_bindings_x86_64; mod linux_bindings_x86_64;
@ -24,3 +26,6 @@ pub use linux_bindings_armv7::*;
#[cfg(target_arch = "aarch64")] #[cfg(target_arch = "aarch64")]
pub use linux_bindings_aarch64::*; pub use linux_bindings_aarch64::*;
#[cfg(target_arch = "riscv64")]
pub use linux_bindings_riscv64::*;

@ -0,0 +1,4 @@
#![allow(clippy::all, dead_code)]
pub mod bindings;
pub mod getters;
pub mod helpers;
Loading…
Cancel
Save