commit
5faf5a5ca0
@ -1 +1 @@
|
||||
b2c20b51ed838368d3f2bdccb63f401bcddb7e1c
|
||||
06f0adb34570ba83fee391abeb0bec0eec28a234
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Validation makes this fail in the wrong place
|
||||
// Make sure we find these even with many checks disabled.
|
||||
// compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
|
||||
fn main() {
|
||||
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![feature(stmt_expr_attributes, test)]
|
||||
#![feature(stmt_expr_attributes, bench_black_box)]
|
||||
#![allow(arithmetic_overflow)]
|
||||
use std::fmt::Debug;
|
||||
use std::hint::black_box;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
use std::hint::black_box as b;
|
||||
|
||||
fn main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user