Auto merge of #1781 - RalfJung:rustup, r=RalfJung

rustup
This commit is contained in:
bors 2021-04-25 14:58:18 +00:00
commit 5faf5a5ca0
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
b2c20b51ed838368d3f2bdccb63f401bcddb7e1c
06f0adb34570ba83fee391abeb0bec0eec28a234

View File

@ -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) };

View File

@ -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;

View File

@ -1,4 +1,4 @@
#![feature(test)]
#![feature(bench_black_box)]
use std::hint::black_box as b;
fn main() {