File tree 9 files changed +25
-17
lines changed
library/std/src/sys/pal/windows
src/tools/miri/tests/fail/panic
9 files changed +25
-17
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ pub fn abort_internal() -> ! {
356
356
357
357
#[ cfg( miri) ]
358
358
pub fn abort_internal ( ) -> ! {
359
- crate :: intrinsics:: abort ( ) ;
359
+ crate :: intrinsics:: abort ( )
360
360
}
361
361
362
362
/// Align the inner value to 8 bytes.
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \}|core::intrinsics::abort\(\); " -> "ABORT(); "
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|core::intrinsics::abort\(\)" -> "ABORT()"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ panicking from libstd
4
4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
5
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6
6
error: abnormal termination: the program aborted execution
7
- --> RUSTLIB/panic_abort /src/lib .rs:LL:CC
7
+ --> RUSTLIB/std /src/sys/pal/PLATFORM/mod .rs:LL:CC
8
8
|
9
- LL | ABORT();
9
+ LL | ABORT()
10
10
| ^ the program aborted execution
11
11
|
12
12
= note: BACKTRACE:
13
- = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
13
+ = note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
14
+ = note: inside `std::process::abort` at RUSTLIB/std/src/process.rs:LL:CC
15
+ = note: inside `std::rt::__rust_abort` at RUSTLIB/std/src/rt.rs:LL:CC
14
16
= note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
15
17
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
16
18
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \}|core::intrinsics::abort\(\); " -> "ABORT(); "
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|core::intrinsics::abort\(\)" -> "ABORT()"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ thread 'main' panicked at tests/fail/panic/panic_abort2.rs:LL:CC:
4
4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
5
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6
6
error: abnormal termination: the program aborted execution
7
- --> RUSTLIB/panic_abort /src/lib .rs:LL:CC
7
+ --> RUSTLIB/std /src/sys/pal/PLATFORM/mod .rs:LL:CC
8
8
|
9
- LL | ABORT();
9
+ LL | ABORT()
10
10
| ^ the program aborted execution
11
11
|
12
12
= note: BACKTRACE:
13
- = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
13
+ = note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
14
+ = note: inside `std::process::abort` at RUSTLIB/std/src/process.rs:LL:CC
15
+ = note: inside `std::rt::__rust_abort` at RUSTLIB/std/src/rt.rs:LL:CC
14
16
= note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
15
17
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
16
18
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \}|core::intrinsics::abort\(\); " -> "ABORT(); "
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|core::intrinsics::abort\(\)" -> "ABORT()"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ panicking from libcore
4
4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
5
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6
6
error: abnormal termination: the program aborted execution
7
- --> RUSTLIB/panic_abort /src/lib .rs:LL:CC
7
+ --> RUSTLIB/std /src/sys/pal/PLATFORM/mod .rs:LL:CC
8
8
|
9
- LL | ABORT();
9
+ LL | ABORT()
10
10
| ^ the program aborted execution
11
11
|
12
12
= note: BACKTRACE:
13
- = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
13
+ = note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
14
+ = note: inside `std::process::abort` at RUSTLIB/std/src/process.rs:LL:CC
15
+ = note: inside `std::rt::__rust_abort` at RUSTLIB/std/src/rt.rs:LL:CC
14
16
= note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
15
17
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
16
18
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \}|core::intrinsics::abort\(\); " -> "ABORT(); "
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|core::intrinsics::abort\(\)" -> "ABORT()"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ thread 'main' panicked at tests/fail/panic/panic_abort4.rs:LL:CC:
4
4
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5
5
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6
6
error: abnormal termination: the program aborted execution
7
- --> RUSTLIB/panic_abort /src/lib .rs:LL:CC
7
+ --> RUSTLIB/std /src/sys/pal/PLATFORM/mod .rs:LL:CC
8
8
|
9
- LL | ABORT();
9
+ LL | ABORT()
10
10
| ^ the program aborted execution
11
11
|
12
12
= note: BACKTRACE:
13
- = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
13
+ = note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
14
+ = note: inside `std::process::abort` at RUSTLIB/std/src/process.rs:LL:CC
15
+ = note: inside `std::rt::__rust_abort` at RUSTLIB/std/src/rt.rs:LL:CC
14
16
= note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
15
17
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
16
18
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
You can’t perform that action at this time.
0 commit comments