]> git.lizzy.rs Git - rust.git/commitdiff
add feature gate to some benchmarks
authorJorge Aparicio <japaricious@gmail.com>
Sat, 3 Jan 2015 22:29:27 +0000 (17:29 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Sat, 3 Jan 2015 22:29:27 +0000 (17:29 -0500)
src/test/bench/shootout-fasta.rs
src/test/bench/shootout-k-nucleotide.rs
src/test/bench/shootout-meteor.rs
src/test/bench/shootout-reverse-complement.rs

index ccc50b867dcd64f6ee4e9b47c93031a2cf1c47ba..eee42af4dbc769db2a476761885218746a588ded 100644 (file)
@@ -38,7 +38,7 @@
 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 // OF THE POSSIBILITY OF SUCH DAMAGE.
 
-#![feature(slicing_syntax)]
+#![feature(associated_types, slicing_syntax)]
 
 use std::cmp::min;
 use std::io::{BufferedWriter, File};
index ff681ca7f14701e8fce1c933939ee66aedacc26e..df5baac7dbe4e728a762319fc9e8733fadb8cb17 100644 (file)
@@ -40,7 +40,7 @@
 
 // ignore-android see #10393 #13206
 
-#![feature(slicing_syntax)]
+#![feature(associated_types, slicing_syntax)]
 
 use std::ascii::OwnedAsciiExt;
 use std::slice;
index 004d90fd6e550091ee5848f5c7d9965f16e73874..94d99b9f118f73bf9f4b98f214fa6340d1cf1ac4 100644 (file)
@@ -40,6 +40,8 @@
 
 // no-pretty-expanded FIXME #15189
 
+#![feature(associated_types)]
+
 use std::sync::mpsc::channel;
 use std::sync::Arc;
 use std::thread::Thread;
index c85aae4dd2fac9f61257f8ad8a94780e1162744c..4e60c2bee44469c59fa8f8c5c5ad20384aac4645 100644 (file)
@@ -40,7 +40,7 @@
 
 // ignore-android see #10393 #13206
 
-#![feature(slicing_syntax, unboxed_closures)]
+#![feature(associated_types, slicing_syntax, unboxed_closures)]
 
 extern crate libc;