add feature gate to some benchmarks
This commit is contained in:
parent
9aadbadb93
commit
ce8f748b4c
4 changed files with 5 additions and 3 deletions
|
@ -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};
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
// ignore-android see #10393 #13206
|
||||
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(associated_types, slicing_syntax)]
|
||||
|
||||
use std::ascii::OwnedAsciiExt;
|
||||
use std::slice;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
// ignore-android see #10393 #13206
|
||||
|
||||
#![feature(slicing_syntax, unboxed_closures)]
|
||||
#![feature(associated_types, slicing_syntax, unboxed_closures)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue