File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -520,9 +520,6 @@ another matching engine with fixed memory requirements.
520
520
#![ deny( missing_docs) ]
521
521
#![ cfg_attr( test, deny( warnings) ) ]
522
522
#![ cfg_attr( feature = "pattern" , feature( pattern) ) ]
523
- #![ cfg_attr(
524
- feature = "unstable" ,
525
- feature( cfg_target_feature, target_feature, stdsimd) ) ]
526
523
527
524
extern crate aho_corasick;
528
525
extern crate memchr;
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ impl Teddy {
120
120
unsafe { self . find_impl ( haystack) }
121
121
}
122
122
123
+ #[ allow( unused_attributes) ]
123
124
#[ target_feature( enable = "avx2" ) ]
124
125
unsafe fn find_impl ( & self , haystack : & [ u8 ] ) -> Option < Match > {
125
126
// If our haystack is smaller than the block size, then fall back to
Original file line number Diff line number Diff line change @@ -431,6 +431,7 @@ impl Teddy {
431
431
unsafe { self . find_impl ( haystack) }
432
432
}
433
433
434
+ #[ allow( unused_attributes) ]
434
435
#[ target_feature( enable = "ssse3" ) ]
435
436
unsafe fn find_impl ( & self , haystack : & [ u8 ] ) -> Option < Match > {
436
437
// If our haystack is smaller than the block size, then fall back to
You can’t perform that action at this time.
0 commit comments