Skip to content

Commit dae975f

Browse files
committed
Add stdsimd feature
1 parent 54c46fb commit dae975f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]
22
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
3+
#![cfg_attr(feature = "simd_backend", feature(stdsimd))]
34
#![allow(unused_variables)]
45
#![allow(non_snake_case)]
56
#![allow(dead_code)]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]
1414
#![cfg_attr(feature = "nightly", feature(external_doc))]
1515
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
16+
#![cfg_attr(feature = "simd_backend", feature(stdsimd))]
1617
// Refuse to compile if documentation is missing, but only on nightly.
1718
//
1819
// This means that missing docs will still fail CI, but means we can use

0 commit comments

Comments
 (0)