Skip to content

Commit

Permalink
fix: fix path to x86 vendored bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Dec 29, 2024
1 parent d3660a6 commit c949a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub mod ffi {
// use vendored bindings (only available for `x86_64` arch)
#[cfg_attr(docsrs, doc(cfg(not(feature = "regenerate"))))]
#[cfg(all(not(feature = "regenerate"), target_arch = "x86"))]
include!("ffi/i686_bindgen.rs");
include!("ffi/x86_bindgen.rs");
#[cfg_attr(docsrs, doc(cfg(not(feature = "regenerate"))))]
#[cfg(all(not(feature = "regenerate"), target_arch = "x86_64"))]
include!("ffi/x86_64_bindgen.rs");
Expand All @@ -47,7 +47,7 @@ pub mod ffi {
// use re-generated bindings
#[cfg_attr(docsrs, doc(cfg(feature = "regenerate")))]
#[cfg(all(feature = "regenerate", target_arch = "x86"))]
include!("ffi/i686_bindgen.rs");
include!("ffi/x86_bindgen.rs");
#[cfg_attr(docsrs, doc(cfg(feature = "regenerate")))]
#[cfg(all(feature = "regenerate", target_arch = "x86_64"))]
include!("ffi/x86_64_bindgen.rs");
Expand Down

0 comments on commit c949a46

Please sign in to comment.