diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 17:29:27 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 17:29:27 -0500 |
| commit | ce8f748b4cd64317c33d64ccf3a6127931980d90 (patch) | |
| tree | 0a2d0be832324d0eb442efb9c448729b790a6552 /src | |
| parent | 9aadbadb93001dd42854a24a42801191fb9c0b35 (diff) | |
| download | rust-ce8f748b4cd64317c33d64ccf3a6127931980d90.tar.gz rust-ce8f748b4cd64317c33d64ccf3a6127931980d90.zip | |
add feature gate to some benchmarks
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/bench/shootout-fasta.rs | 2 | ||||
| -rw-r--r-- | src/test/bench/shootout-k-nucleotide.rs | 2 | ||||
| -rw-r--r-- | src/test/bench/shootout-meteor.rs | 2 | ||||
| -rw-r--r-- | src/test/bench/shootout-reverse-complement.rs | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/test/bench/shootout-fasta.rs b/src/test/bench/shootout-fasta.rs index ccc50b867dc..eee42af4dbc 100644 --- a/src/test/bench/shootout-fasta.rs +++ b/src/test/bench/shootout-fasta.rs @@ -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}; diff --git a/src/test/bench/shootout-k-nucleotide.rs b/src/test/bench/shootout-k-nucleotide.rs index ff681ca7f14..df5baac7dbe 100644 --- a/src/test/bench/shootout-k-nucleotide.rs +++ b/src/test/bench/shootout-k-nucleotide.rs @@ -40,7 +40,7 @@ // ignore-android see #10393 #13206 -#![feature(slicing_syntax)] +#![feature(associated_types, slicing_syntax)] use std::ascii::OwnedAsciiExt; use std::slice; diff --git a/src/test/bench/shootout-meteor.rs b/src/test/bench/shootout-meteor.rs index 004d90fd6e5..94d99b9f118 100644 --- a/src/test/bench/shootout-meteor.rs +++ b/src/test/bench/shootout-meteor.rs @@ -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; diff --git a/src/test/bench/shootout-reverse-complement.rs b/src/test/bench/shootout-reverse-complement.rs index c85aae4dd2f..4e60c2bee44 100644 --- a/src/test/bench/shootout-reverse-complement.rs +++ b/src/test/bench/shootout-reverse-complement.rs @@ -40,7 +40,7 @@ // ignore-android see #10393 #13206 -#![feature(slicing_syntax, unboxed_closures)] +#![feature(associated_types, slicing_syntax, unboxed_closures)] extern crate libc; |
