mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-08 21:00:40 +00:00
Fix nightly build (#619)
* Fix nightly build * Add nightly feature constraint so AVX-512 requires either x86 or x86_64 Co-authored-by: Tony Arcieri <bascule@gmail.com> * fmt --------- Co-authored-by: Michael Rosenberg <micro@fastmail.com> Co-authored-by: Tony Arcieri <bascule@gmail.com> Co-authored-by: Michael Rosenberg <michael@mrosenberg.pub>
This commit is contained in:
parent
ba737a3790
commit
ff1c309b23
1 changed files with 8 additions and 1 deletions
|
|
@ -10,7 +10,14 @@
|
||||||
// - Henry de Valence <hdevalence@hdevalence.ca>
|
// - Henry de Valence <hdevalence@hdevalence.ca>
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
#![cfg_attr(all(curve25519_dalek_backend = "simd", nightly), feature(stdsimd))]
|
#![cfg_attr(
|
||||||
|
all(
|
||||||
|
curve25519_dalek_backend = "simd",
|
||||||
|
nightly,
|
||||||
|
any(target_arch = "x86", target_arch = "x86_64")
|
||||||
|
),
|
||||||
|
feature(stdarch_x86_avx512)
|
||||||
|
)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
all(curve25519_dalek_backend = "simd", nightly),
|
all(curve25519_dalek_backend = "simd", nightly),
|
||||||
feature(avx512_target_feature)
|
feature(avx512_target_feature)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue