Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Dec 29, 2024
1 parent 52f8285 commit d5be1d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/// Bindings for `phnt` (nightly) generated by `bindgen`
pub mod ffi {
// use vendored bindings (only available for `x86_64` arch)
// use vendored bindings
#[cfg_attr(docsrs, doc(cfg(not(feature = "regenerate"))))]
#[cfg(all(not(feature = "regenerate"), target_arch = "x86"))]
include!("ffi/x86_bindgen.rs");
Expand All @@ -44,7 +44,8 @@ pub mod ffi {
#[cfg(all(not(feature = "regenerate"), target_arch = "aarch64"))]
include!("ffi/aarch64_bindgen.rs");

// use re-generated bindings
// use regenerated bindings
// TODO: Make sure regenerated bindings actually get used
#[cfg_attr(docsrs, doc(cfg(feature = "regenerate")))]
#[cfg(all(feature = "regenerate", target_arch = "x86"))]
include!("ffi/x86_bindgen.rs");
Expand Down

0 comments on commit d5be1d3

Please sign in to comment.