File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- b2c20b51ed838368d3f2bdccb63f401bcddb7e1c
1
+ 06f0adb34570ba83fee391abeb0bec0eec28a234
Original file line number Diff line number Diff line change 1
1
// Validation makes this fail in the wrong place
2
2
// Make sure we find these even with many checks disabled.
3
3
// compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
4
- #![ feature( test ) ]
4
+ #![ feature( bench_black_box ) ]
5
5
6
6
fn main ( ) {
7
7
let b = unsafe { std:: mem:: transmute :: < u8 , bool > ( 2 ) } ;
Original file line number Diff line number Diff line change 1
- #![ feature( stmt_expr_attributes, test ) ]
1
+ #![ feature( stmt_expr_attributes, bench_black_box ) ]
2
2
#![ allow( arithmetic_overflow) ]
3
3
use std:: fmt:: Debug ;
4
4
use std:: hint:: black_box;
Original file line number Diff line number Diff line change 1
- #![ feature( test ) ]
1
+ #![ feature( bench_black_box ) ]
2
2
use std:: hint:: black_box as b;
3
3
4
4
fn main ( ) {
You can’t perform that action at this time.
0 commit comments