miri: Adapt for breakpoint
becoming safe
This commit is contained in:
parent
a030ffbe35
commit
cea0582dbd
2 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
unsafe {
|
core::intrinsics::breakpoint(); //~ ERROR: trace/breakpoint trap
|
||||||
core::intrinsics::breakpoint() //~ ERROR: trace/breakpoint trap
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
error: abnormal termination: trace/breakpoint trap
|
error: abnormal termination: trace/breakpoint trap
|
||||||
--> tests/fail/breakpoint.rs:LL:CC
|
--> tests/fail/breakpoint.rs:LL:CC
|
||||||
|
|
|
|
||||||
LL | core::intrinsics::breakpoint()
|
LL | core::intrinsics::breakpoint();
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trace/breakpoint trap
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trace/breakpoint trap
|
||||||
|
|
|
|
||||||
= note: BACKTRACE:
|
= note: BACKTRACE:
|
||||||
= note: inside `main` at tests/fail/breakpoint.rs:LL:CC
|
= note: inside `main` at tests/fail/breakpoint.rs:LL:CC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue