Skip to content

Commit

Permalink
Actually add the bindings module
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantomical committed May 30, 2024
1 parent d1b8484 commit 58b79c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perf-event-open-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ pub mod bindings;
#[path = "bindings_x86_64.rs"]
pub mod bindings;

#[cfg(target_arch = "riscv64")]
#[path = "bindings_riscv64gc"]
pub mod bindings;

// Provide actual callable code only on Linux/Android. See "Using perf
// types on other platforms", in the top-level crate docs.
#[cfg(any(target_os = "linux", target_os = "android"))]
Expand Down

0 comments on commit 58b79c5

Please sign in to comment.