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

Commit

Permalink
Removing CPUID x86_64 restriction
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Woollett-Light <[email protected]>
  • Loading branch information
Jonathan Woollett-Light committed Oct 27, 2022
1 parent bdfbf7f commit 06b6fb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

#[cfg(feature = "fam-wrappers")]
pub mod cpuid;

#[macro_use]
#[cfg(feature = "fam-wrappers")]
extern crate vmm_sys_util;
Expand Down
4 changes: 0 additions & 4 deletions src/x86/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
#[cfg_attr(test, allow(deref_nullptr))]
pub mod bindings;
#[cfg(feature = "fam-wrappers")]
pub mod fam_wrappers;

pub use self::bindings::*;
#[cfg(feature = "fam-wrappers")]
pub use self::fam_wrappers::*;

0 comments on commit 06b6fb5

Please sign in to comment.