Skip to content

Commit ce8f748

Browse files
author
Jorge Aparicio
committed
add feature gate to some benchmarks
1 parent 9aadbad commit ce8f748

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/test/bench/shootout-fasta.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
3939
// OF THE POSSIBILITY OF SUCH DAMAGE.
4040

41-
#![feature(slicing_syntax)]
41+
#![feature(associated_types, slicing_syntax)]
4242

4343
use std::cmp::min;
4444
use std::io::{BufferedWriter, File};

src/test/bench/shootout-k-nucleotide.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
// ignore-android see #10393 #13206
4242

43-
#![feature(slicing_syntax)]
43+
#![feature(associated_types, slicing_syntax)]
4444

4545
use std::ascii::OwnedAsciiExt;
4646
use std::slice;

src/test/bench/shootout-meteor.rs

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040

4141
// no-pretty-expanded FIXME #15189
4242

43+
#![feature(associated_types)]
44+
4345
use std::sync::mpsc::channel;
4446
use std::sync::Arc;
4547
use std::thread::Thread;

src/test/bench/shootout-reverse-complement.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
// ignore-android see #10393 #13206
4242

43-
#![feature(slicing_syntax, unboxed_closures)]
43+
#![feature(associated_types, slicing_syntax, unboxed_closures)]
4444

4545
extern crate libc;
4646

0 commit comments

Comments
 (0)