Skip to content

Commit 97a71c0

Browse files
RalfJungoli-obk
andauthored
fmt
Co-authored-by: Oli Scherer <[email protected]>
1 parent 32cdb71 commit 97a71c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/foreign_items.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
162162
// We forward this to the underlying *implementation* in the panic runtime crate.
163163
// Normally, this will be either `libpanic_unwind` or `libpanic_abort`, but it could
164164
// also be a custom user-provided implementation via `#![feature(panic_runtime)]`
165-
"__rust_start_panic" | "__rust_panic_cleanup"=> {
165+
"__rust_start_panic" | "__rust_panic_cleanup" => {
166166
// This replicates some of the logic in `inject_panic_runtime`.
167167
// FIXME: is there a way to reuse that logic?
168168
let panic_runtime = match this.tcx.sess.panic_strategy() {

0 commit comments

Comments
 (0)