mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Applied @pinkforest's patch to make make doc build on non-x86_64 arches
This commit is contained in:
parent
791ba170b1
commit
01672bfc63
1 changed files with 4 additions and 4 deletions
|
|
@ -16,24 +16,24 @@ compile_error!("simd_backend selected without target_feature=+avx2 or +avx512ifm
|
|||
|
||||
#[cfg(any(
|
||||
all(target_feature = "avx2", not(target_feature = "avx512ifma")),
|
||||
docsrs
|
||||
all(docsrs, target_arch = "x86_64")
|
||||
))]
|
||||
pub mod avx2;
|
||||
#[cfg(any(
|
||||
all(target_feature = "avx2", not(target_feature = "avx512ifma")),
|
||||
docsrs
|
||||
all(docsrs, target_arch = "x86_64")
|
||||
))]
|
||||
pub(crate) use self::avx2::{
|
||||
constants::BASEPOINT_ODD_LOOKUP_TABLE, edwards::CachedPoint, edwards::ExtendedPoint,
|
||||
};
|
||||
|
||||
#[cfg(any(target_feature = "avx512ifma", docsrs))]
|
||||
#[cfg(any(target_feature = "avx512ifma", all(docsrs, target_arch = "x86_64")))]
|
||||
pub mod ifma;
|
||||
#[cfg(target_feature = "avx512ifma")]
|
||||
pub(crate) use self::ifma::{
|
||||
constants::BASEPOINT_ODD_LOOKUP_TABLE, edwards::CachedPoint, edwards::ExtendedPoint,
|
||||
};
|
||||
|
||||
#[cfg(any(target_feature = "avx2", target_feature = "avx512ifma", docsrs))]
|
||||
#[cfg(any(target_feature = "avx2", target_feature = "avx512ifma", all(docsrs, target_arch = "x86_64")))]
|
||||
#[allow(missing_docs)]
|
||||
pub mod scalar_mul;
|
||||
|
|
|
|||
Loading…
Reference in a new issue