fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.2 KiB45 linesraw
1warning: You have explicitly enabled MIR optimizations, overriding Miri's default which is to completely disable them. Any optimizations may hide UB that Miri would otherwise detect, and it is not necessarily possible to predict what kind of UB will be missed. If you are enabling optimizations to make Miri run faster, we advise using cfg(miri) to shrink your workload instead. The performance benefit of enabling MIR optimizations is usually marginal at best.
2
3thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
4explicit panic
5note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
7panic in a function that cannot unwind
8stack backtrace:
9thread caused non-unwinding panic. aborting.
10error: abnormal termination: the program aborted execution
11  --> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
12   |
13LL |     ABORT();
14   | ^ the program aborted execution
15   |
16   = note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
17   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
18   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
19   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
20   = note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
21   = note: inside `core::panicking::panic_nounwind` at RUSTLIB/core/src/panicking.rs:LL:CC
22   = note: inside `core::panicking::panic_cannot_unwind` at RUSTLIB/core/src/panicking.rs:LL:CC
23note: inside `has_cleanup`
24  --> $DIR/terminate-terminator.rs:LL:CC
25   |
26LL | / fn has_cleanup() {
27LL | |     let _f = Foo;
28LL | |     panic!();
29LL | | }
30   | |_^
31note: inside `panic_abort`
32  --> $DIR/terminate-terminator.rs:LL:CC
33   |
34LL |     has_cleanup();
35   | ^
36note: inside `main`
37  --> $DIR/terminate-terminator.rs:LL:CC
38   |
39LL |     panic_abort();
40   | ^
41
42note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
43
44error: aborting due to previous error; 1 warning emitted
45