diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-05 09:12:36 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-07-05 09:12:36 +0200 |
| commit | 72043e3181a4050f02cdb1d6e2574c54c1b47013 (patch) | |
| tree | 930e08c5f944973fe520ff75298b858ca17fdf74 | |
| parent | 61f3705920822819721c8d17a012adc93914b312 (diff) | |
| download | rust-72043e3181a4050f02cdb1d6e2574c54c1b47013.tar.gz rust-72043e3181a4050f02cdb1d6e2574c54c1b47013.zip | |
fmt
| -rw-r--r-- | src/tools/miri/src/shims/foreign_items.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/miri/src/shims/foreign_items.rs b/src/tools/miri/src/shims/foreign_items.rs index 1b66735ddb1..9ddba8c2b48 100644 --- a/src/tools/miri/src/shims/foreign_items.rs +++ b/src/tools/miri/src/shims/foreign_items.rs @@ -615,7 +615,9 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> { // This is a no-op shim that only exists to prevent making the allocator shims instantly stable. let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?; } - name if name == this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") => { + name if name + == this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") => + { // Gets the value of the `oom` option. let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?; let val = this.tcx.sess.opts.unstable_opts.oom.should_panic(); |
