File tree 2 files changed +5
-3
lines changed
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 {
309
309
// records whether panic::always_abort() has been called. This can only be
310
310
// set, never cleared.
311
311
// 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`.
313
313
// Memory allocations performed in a child created with `libc::fork` are undefined
314
314
// 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
316
316
// allocation. Only GLOBAL_PANIC_COUNT can be accessed in this situation. This is
317
317
// sufficient because a child process will always have exactly one thread only.
318
318
// See also #85261 for details.
Original file line number Diff line number Diff line change @@ -99,7 +99,9 @@ fn expect_aborted(status: ExitStatus) {
99
99
// If the next assert fails sporadically we might have an issue with parallel crashing apps
100
100
assert ! ( tombstone
101
101
. 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
+ ) ) ;
103
105
}
104
106
}
105
107
You can’t perform that action at this time.
0 commit comments