mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +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>
|
||||
|
||||
#![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(
|
||||
all(curve25519_dalek_backend = "simd", nightly),
|
||||
feature(avx512_target_feature)
|
||||
|
|
|
|||
Loading…
Reference in a new issue