File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -309,10 +309,10 @@ pub mod panic_count {
309309 // records whether panic::always_abort() has been called. This can only be
310310 // set, never cleared.
311311 // panic::always_abort() is usually called to prevent memory allocations done by
312- // the panic handling in the child created by `libc::fork`.
312+ // the panic handling in the child created by `libc::fork`.
313313 // Memory allocations performed in a child created with `libc::fork` are undefined
314314 // behavior in most operating systems.
315- // Accessing LOCAL_PANIC_COUNT in a child created by `libc::fork` would lead to a memory
315+ // Accessing LOCAL_PANIC_COUNT in a child created by `libc::fork` would lead to a memory
316316 // allocation. Only GLOBAL_PANIC_COUNT can be accessed in this situation. This is
317317 // sufficient because a child process will always have exactly one thread only.
318318 // See also #85261 for details.
Original file line number Diff line number Diff line change @@ -99,7 +99,9 @@ fn expect_aborted(status: ExitStatus) {
9999 // If the next assert fails sporadically we might have an issue with parallel crashing apps
100100 assert ! ( tombstone
101101 . contains( & std:: env:: current_exe( ) . unwrap( ) . into_os_string( ) . into_string( ) . unwrap( ) ) ) ;
102- assert ! ( tombstone. contains( "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad" ) ) ;
102+ assert ! ( tombstone. contains(
103+ "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad"
104+ ) ) ;
103105 }
104106}
105107
You can’t perform that action at this time.
0 commit comments