fix sanitizer tests

This commit is contained in:
Ralf Jung 2021-04-24 11:55:32 +02:00
parent 23d54ad96f
commit 3d16e156ae
5 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
#![feature(allow_internal_unstable)]
#![feature(bench_black_box)]
#![feature(const_fn)]
#![feature(const_panic)]
#![feature(extend_one)]
#![feature(iter_zip)]

View File

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

View File

@ -7,7 +7,7 @@
// run-fail
// error-pattern: HWAddressSanitizer: tag-mismatch
#![feature(test)]
#![feature(bench_black_box)]
use std::hint::black_box;

View File

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

View File

@ -13,7 +13,7 @@
#![feature(core_intrinsics)]
#![feature(start)]
#![feature(test)]
#![feature(bench_black_box)]
use std::hint::black_box;
use std::mem::MaybeUninit;