Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
lib: Conditional compilation for "fam-wrappers"
Browse files Browse the repository at this point in the history
riscv doesn't need "fam-wrappers" feature at the moment.

Signed-off-by: Tan En De <[email protected]>
  • Loading branch information
endeneer committed Sep 28, 2023
1 parent df04ff0 commit fcb771d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

#[cfg(any(
target_arch = "x86_64",
target_arch = "aarch",
target_arch = "aarch64",
))]
#[macro_use]
#[cfg(feature = "fam-wrappers")]
extern crate vmm_sys_util;
Expand Down

0 comments on commit fcb771d

Please sign in to comment.