Fix rustdoc feature flags to compile on stable.

This commit is contained in:
Henry de Valence 2019-01-17 19:49:41 -08:00
parent 9ddbf1ba83
commit e3ca8961fc
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ pub mod serial;
feature = "simd_backend", feature = "simd_backend",
any(target_feature = "avx2", target_feature = "avx512ifma") any(target_feature = "avx2", target_feature = "avx512ifma")
), ),
rustdoc all(feature = "nightly", rustdoc)
))] ))]
#[cfg_attr( #[cfg_attr(
feature = "nightly", feature = "nightly",

View file

@ -12,7 +12,7 @@
#![cfg_attr( #![cfg_attr(
any( any(
all(feature = "simd_backend", target_feature = "avx512ifma"), all(feature = "simd_backend", target_feature = "avx512ifma"),
all(rustdoc, feature = "nightly") all(feature = "nightly", rustdoc)
), ),
feature(simd_ffi, link_llvm_intrinsics) feature(simd_ffi, link_llvm_intrinsics)
)] )]