mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
fix sanitizer tests
This commit is contained in:
parent
23d54ad96f
commit
3d16e156ae
@ -1,6 +1,5 @@
|
||||
#![feature(allow_internal_unstable)]
|
||||
#![feature(bench_black_box)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(const_panic)]
|
||||
#![feature(extend_one)]
|
||||
#![feature(iter_zip)]
|
||||
|
@ -7,7 +7,7 @@
|
||||
// error-pattern: AddressSanitizer: stack-buffer-overflow
|
||||
// error-pattern: 'xs' (line 15) <== Memory access at offset
|
||||
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
|
||||
use std::hint::black_box;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// run-fail
|
||||
// error-pattern: HWAddressSanitizer: tag-mismatch
|
||||
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
|
||||
use std::hint::black_box;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// run-fail
|
||||
// error-pattern: LeakSanitizer: detected memory leaks
|
||||
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
|
||||
use std::hint::black_box;
|
||||
use std::mem;
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(start)]
|
||||
#![feature(test)]
|
||||
#![feature(bench_black_box)]
|
||||
|
||||
use std::hint::black_box;
|
||||
use std::mem::MaybeUninit;
|
||||
|
Loading…
Reference in New Issue
Block a user