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