Skip to content

Commit 51acd2a

Browse files
salman01zpmikelodder7
authored andcommitted
fix night build
1 parent 41689be commit 51acd2a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

curve25519-dalek/src/lib.rs

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
// - Henry de Valence <[email protected]>
1111

1212
#![no_std]
13-
#![cfg_attr(all(curve25519_dalek_backend = "simd", nightly), feature(stdsimd))]
13+
#![cfg_attr(
14+
all(
15+
curve25519_dalek_backend = "simd",
16+
nightly,
17+
any(target_arch = "x86", target_arch = "x86_64")
18+
),
19+
feature(stdarch_x86_avx512)
20+
)]
1421
#![cfg_attr(
1522
all(curve25519_dalek_backend = "simd", nightly),
1623
feature(avx512_target_feature)

0 commit comments

Comments
 (0)