rustup and test fixes
This commit is contained in:
parent
bec7aab7fd
commit
cae90b6d29
@ -1 +1 @@
|
||||
13f9aa190957b993a268fd4a046fce76ca8814ee
|
||||
efc02b03d18b0cbaa55b1e421d792f70a39230b2
|
||||
|
@ -9,5 +9,5 @@ static mut TLS: u8 = 0;
|
||||
|
||||
fn main() { unsafe {
|
||||
let dangling_ptr = std::thread::spawn(|| &TLS as *const u8 as usize).join().unwrap();
|
||||
let _val = *(dangling_ptr as *const u8);
|
||||
let _val = *(dangling_ptr as *const u8); //~ ERROR dereferenced after this allocation got freed
|
||||
} }
|
||||
|
@ -1,4 +1,4 @@
|
||||
// normalize-stderr-test "[^ ]*libcore/[a-z/]+.rs[0-9:]*" -> "$$LOC"
|
||||
// normalize-stderr-test "[^ ]*libcore/[a-z_/]+.rs[0-9:]*" -> "$$LOC"
|
||||
#![feature(never_type)]
|
||||
#![allow(unconditional_panic)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user