Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
4de59de
Move float non determinism helpers to math.rs
LorrensP-2158466 Jul 7, 2025
bea100f
Merge pull request #2514 from rust-lang/tshepang/for-ssh-protocol
Kobzol Jul 21, 2025
ca17ef5
Implement nondet behaviour and change/add tests.
LorrensP-2158466 Jul 7, 2025
3062a47
atomicrmw on pointers: move integer-pointer cast hacks into backend
RalfJung Jul 19, 2025
be6c85d
Merge ref '5a30e4307f05' from rust-lang/rust
Kobzol Jul 23, 2025
88cda3d
Merge pull request #1883 from Kobzol/pull
folkertdev Jul 23, 2025
c94251b
Merge ref 'efd420c770bb' from rust-lang/rust
invalid-email-address Jul 24, 2025
8c6b880
Merge pull request #2518 from rust-lang/rustc-pull
tshepang Jul 25, 2025
9527238
Merge pull request #1879 from heiher/loong-simd-unified-types
folkertdev Jul 25, 2025
97505e9
Merge pull request #1863 from folkertdev/combine-rust-files
sayantn Jul 25, 2025
18f2a9d
Merge ref '2b5e239c6b86' from rust-lang/rust
invalid-email-address Jul 28, 2025
1f197dd
Merge pull request #2519 from rust-lang/rustc-pull
tshepang Jul 28, 2025
b06863c
Stabilize strict_overflow_ops
nxsaken Jul 30, 2025
1f5c4b6
Merge ref '32e7a4b92b10' from rust-lang/rust
invalid-email-address Jul 31, 2025
0aaaaf5
Merge ref '32e7a4b92b10' from rust-lang/rust
invalid-email-address Jul 31, 2025
cb7f09b
Merge pull request #2529 from lcnr/type-system-invariants
lcnr Aug 1, 2025
38926eb
Merge pull request #2530 from lcnr/type-system-invariants
lcnr Aug 1, 2025
b7e53ed
Merge pull request #2526 from rust-lang/rustc-pull
tshepang Aug 1, 2025
392b7dc
Merge pull request #2509 from rust-lang/tshepang-auto-toc
tshepang Aug 3, 2025
4ab6138
Merge pull request #1889 from rust-lang/rustc-pull
folkertdev Aug 3, 2025
b9063a4
Merge ref '383b9c447b61' from rust-lang/rust
invalid-email-address Aug 4, 2025
37c5679
Merge pull request #2533 from rust-lang/rustc-pull
tshepang Aug 4, 2025
94e14ab
remove begin prefix
Kivooeo Aug 4, 2025
90b8cc8
Merge pull request #1895 from madhav-madhusoodanan/intrinsic-test-int…
folkertdev Aug 5, 2025
a7b1054
Auto merge of #144303 - Kobzol:bootstrap-tool-cleanup, r=jieyouxu
bors Aug 5, 2025
bd9aadb
Auto merge of #144863 - cjgillot:live-or-dead, r=Urgau
bors Aug 5, 2025
2042e98
Merge pull request #2534 from skrobchik/patch-1
ZuseZ4 Aug 5, 2025
31ad2a5
Auto merge of #143684 - nikic:llvm-21, r=cuviper
bors Aug 6, 2025
08468b4
Auto merge of #144509 - cuviper:relnotes-1.89.0, r=BoxyUwU
bors Aug 6, 2025
ad6ffe9
Add normalization for thread IDs in panic messages
tgross35 Jun 13, 2025
1ccd96f
Print thread ID in panic message if thread name is unknown
tgross35 Sep 11, 2023
33b5baf
Auto merge of #115746 - tgross35:unnamed-threads-panic-message, r=cuv…
bors Aug 7, 2025
2868a51
Merge ref '6bcdcc73bd11' from rust-lang/rust
invalid-email-address Aug 7, 2025
8bb92ce
Merge pull request #2539 from rust-lang/rustc-pull
tshepang Aug 7, 2025
a4d5e2e
Auto merge of #145014 - bjorn3:revert_preserve_debug_gdb_scripts, r=lqd
bors Aug 7, 2025
d05a6f3
Rollup merge of #137831 - estebank:auto-trait-err, r=compiler-errors
Zalathar Aug 7, 2025
bd37393
Rollup merge of #138689 - jedbrown:jed/nvptx-target-feature, r=ZuseZ4
Zalathar Aug 7, 2025
4d8d7da
Rollup merge of #140267 - jogru0:control_flow, r=dtolnay
Zalathar Aug 7, 2025
1cdf5a8
Rollup merge of #143028 - dianne:let-else-storage, r=oli-obk,traviscross
Zalathar Aug 7, 2025
7e8b10b
Rollup merge of #143764 - dianne:primary-binding-drop-order, r=Nadrie…
Zalathar Aug 7, 2025
5129a2d
Rollup merge of #143808 - JonathanBrouwer:should_panic_parser, r=jdon…
Zalathar Aug 7, 2025
bd244f6
Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-foreign-…
Zalathar Aug 7, 2025
2abc4f8
Rollup merge of #143929 - petrochenkov:depresolve, r=lcnr
Zalathar Aug 7, 2025
c1c5947
Rollup merge of #144133 - oli-obk:stabilize-const-type-id, r=lcnr
Zalathar Aug 7, 2025
47253c9
Rollup merge of #144369 - joshtriplett:mbe-expr-semi-deny-by-default,…
Zalathar Aug 7, 2025
c64618d
Rollup merge of #144439 - xizheyin:symbol-rs, r=petrochenkov
Zalathar Aug 7, 2025
fc34e7d
Rollup merge of #144473 - zeroomega:rustc_inconsistency, r=Mark-Simul…
Zalathar Aug 7, 2025
59538a7
Rollup merge of #144601 - kornelski:cargo-fix-mismatched_lifetime_syn…
Zalathar Aug 7, 2025
fdece4b
Rollup merge of #144650 - Borgerr:additional-tce-tests, r=WaffleLapki…
Zalathar Aug 7, 2025
3f439af
Rollup merge of #144659 - mati865:gnullvm-vendor-libunwind, r=Kobzol
Zalathar Aug 7, 2025
16c5641
Rollup merge of #144682 - nxsaken:strict_overflow_ops, r=Mark-Simulacrum
Zalathar Aug 7, 2025
ecbbaf1
Rollup merge of #145026 - rustbot:docs-update, r=ehuss
Zalathar Aug 7, 2025
cc0cf48
Rollup merge of #145033 - nnethercote:fix-144994, r=fmease
Zalathar Aug 7, 2025
5c08889
Rollup merge of #145040 - tshepang:rdg-sync, r=Kobzol
Zalathar Aug 7, 2025
28f4bd4
Auto merge of #144997 - BoxyUwU:bootstrap_bump, r=Mark-Simulacrum
bors Aug 7, 2025
4bf225d
Auto merge of #145043 - Zalathar:rollup-3dbvdrm, r=Zalathar
bors Aug 7, 2025
ef8ebb3
Auto merge of #145056 - flip1995:clippy-subtree-update, r=Manishearth
bors Aug 7, 2025
a5460b5
Auto merge of #143807 - rperier:rustc_llvm_werror, r=cuviper
bors Aug 7, 2025
6ee3348
Rollup merge of #144705 - pmur:murp/aarch64-lse, r=Amanieu
tgross35 Aug 8, 2025
91da13c
Rollup merge of #144857 - scrabsha:push-pwtyrnmqkrtr, r=jdonszelmann
tgross35 Aug 8, 2025
b6c48d6
Rollup merge of #144900 - Kivooeo:unsigned_signed_diff-stabilize, r=d…
tgross35 Aug 8, 2025
071f904
Rollup merge of #144903 - Kivooeo:panic_handler-is-not-begin, r=m-ou-se
tgross35 Aug 8, 2025
c6ddd6a
Rollup merge of #144974 - tgross35:update-builtins, r=tgross35
tgross35 Aug 8, 2025
23e7581
Rollup merge of #145007 - Kobzol:error-index, r=jieyouxu
tgross35 Aug 8, 2025
d4fd376
Rollup merge of #145018 - AlexanderPortland:rustc-public-hash, r=scot…
tgross35 Aug 8, 2025
620d588
Rollup merge of #145045 - Hywan:doc-library-iterator-by_ref, r=Guilla…
tgross35 Aug 8, 2025
d6e00d3
Rollup merge of #145046 - ulrichstark:master, r=tgross35
tgross35 Aug 8, 2025
d460998
Rollup merge of #144400 - Kivooeo:issue3, r=jieyouxu
Zalathar Aug 8, 2025
c401191
Rollup merge of #144764 - scottmcm:tweak-impossible-discriminant-assu…
Zalathar Aug 8, 2025
a2c3f2f
Rollup merge of #144807 - Shourya742:2025-07-30-streamline-config, r=…
Zalathar Aug 8, 2025
c6c24f5
Rollup merge of #144899 - Kobzol:cgu-reuse, r=saethlin
Zalathar Aug 8, 2025
ae30f3a
Rollup merge of #144909 - GuillaumeGomez:extend-libtest-for-merged-do…
Zalathar Aug 8, 2025
7f6d5fe
Rollup merge of #144912 - LorrensP-2158466:smart-resolver, r=petroche…
Zalathar Aug 8, 2025
fbe9eb6
Rollup merge of #144914 - estebank:short-paths-2, r=fee1-dead
Zalathar Aug 8, 2025
8fd4d8a
Rollup merge of #144931 - dpaoliello:msvc-wholearchive, r=jieyouxu
Zalathar Aug 8, 2025
fa93050
Rollup merge of #144999 - Zalathar:remove-mcdc, r=oli-obk
Zalathar Aug 8, 2025
164b118
Rollup merge of #145009 - jackh726:ra-next-solver-changes, r=compiler…
Zalathar Aug 8, 2025
61d51a8
Rollup merge of #145030 - cjgillot:gvn-no-flatten-index, r=saethlin
Zalathar Aug 8, 2025
328f38f
Rollup merge of #145042 - heiher:stdarch-push, r=folkertdev
Zalathar Aug 8, 2025
efc4b53
Rollup merge of #145047 - lcnr:yeet-mir-typeck, r=lqd
Zalathar Aug 8, 2025
a819599
Rollup merge of #145051 - bjorn3:prevent_linkage_symbol_name_collisio…
Zalathar Aug 8, 2025
68610f6
Rollup merge of #145053 - lqd:known-bugs, r=jackh726
Zalathar Aug 8, 2025
519c51f
Rollup merge of #145055 - bjorn3:move_metadata_symbol_export, r=saethlin
Zalathar Aug 8, 2025
c446acf
Rollup merge of #145057 - ShoyuVanilla:const-trait-tests-cleanup, r=p…
Zalathar Aug 8, 2025
67344ef
Rollup merge of #145070 - vexide:minimal-armv7a-vex-v5, r=wesleywiser
Zalathar Aug 8, 2025
3f64075
Auto merge of #145074 - tgross35:rollup-0tillrm, r=tgross35
bors Aug 8, 2025
3b733da
Auto merge of #145077 - Zalathar:rollup-0k4194x, r=Zalathar
bors Aug 8, 2025
f792378
Revert "Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-…
Kobzol Aug 8, 2025
dc357d5
Auto merge of #145116 - Kobzol:revert-143906, r=lqd
bors Aug 8, 2025
71de942
mbe: In error messages, don't assume attributes are always proc macros
joshtriplett Jul 28, 2025
89b33fd
Rollup merge of #144039 - estebank:short-paths, r=fee1-dead
tgross35 Aug 8, 2025
7cae1f4
Rollup merge of #144192 - RalfJung:atomicrmw-ptr, r=nikic
tgross35 Aug 8, 2025
0b68eda
Rollup merge of #144545 - ChayimFriedman2:bool-witness-order, r=Nadri…
tgross35 Aug 8, 2025
9ce0190
Rollup merge of #144579 - joshtriplett:mbe-attr, r=petrochenkov
tgross35 Aug 8, 2025
48337a9
Rollup merge of #144649 - estebank:issue-144602, r=lcnr
tgross35 Aug 8, 2025
aaad564
Rollup merge of #144775 - lcnr:skip_binder-comment, r=BoxyUwU
tgross35 Aug 8, 2025
905dcf4
Rollup merge of #144987 - tgross35:llvm21-f16-f128, r=nikic
tgross35 Aug 8, 2025
c75489a
Auto merge of #145126 - tgross35:rollup-6w87usd, r=tgross35
bors Aug 8, 2025
9742b59
Auto merge of #145086 - jdonszelmann:revert-allow-internal-unsafe, r=…
bors Aug 9, 2025
c3eb746
Prepare for merging from rust-lang/rust
Aug 9, 2025
ab413cf
Merge ref '4c7749e8c8e5' from rust-lang/rust
Aug 9, 2025
a357723
Remove cfg(bootstrap) for strict_overflow_ops
saethlin Aug 9, 2025
d967b26
Fix a clippy::needless_borrow
saethlin Aug 9, 2025
1842893
Add gettid support for Android
saethlin Aug 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
07b7dc90ee4df5815dbb91ef8e98cb93571230f5
4c7749e8c8e50ad146da599eea3a250160c1bc2b
19 changes: 9 additions & 10 deletions src/intrinsics/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,27 +105,27 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
}

"or" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::BitOr, false), rw_ord(ord))?;
}
"xor" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::BitXor, false), rw_ord(ord))?;
}
"and" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::BitAnd, false), rw_ord(ord))?;
}
"nand" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::BitAnd, true), rw_ord(ord))?;
}
"xadd" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::Add, false), rw_ord(ord))?;
}
"xsub" => {
let ord = get_ord_at(1);
let ord = get_ord_at(2);
this.atomic_rmw_op(args, dest, AtomicOp::MirOp(BinOp::Sub, false), rw_ord(ord))?;
}
"min" => {
Expand Down Expand Up @@ -231,15 +231,14 @@ trait EvalContextPrivExt<'tcx>: MiriInterpCxExt<'tcx> {
let place = this.deref_pointer(place)?;
let rhs = this.read_immediate(rhs)?;

if !place.layout.ty.is_integral() && !place.layout.ty.is_raw_ptr() {
if !(place.layout.ty.is_integral() || place.layout.ty.is_raw_ptr())
|| !(rhs.layout.ty.is_integral() || rhs.layout.ty.is_raw_ptr())
{
span_bug!(
this.cur_span(),
"atomic arithmetic operations only work on integer and raw pointer types",
);
}
if rhs.layout.ty != place.layout.ty {
span_bug!(this.cur_span(), "atomic arithmetic operation type mismatch");
}

let old = match atomic_op {
AtomicOp::Min =>
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#![feature(variant_count)]
#![feature(yeet_expr)]
#![feature(nonzero_ops)]
#![feature(strict_overflow_ops)]
#![feature(pointer_is_aligned_to)]
#![feature(ptr_metadata)]
#![feature(unqualified_local_imports)]
Expand Down
10 changes: 3 additions & 7 deletions src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,14 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
}

// Some more operations are possible with atomics.
// The return value always has the provenance of the *left* operand.
// The RHS must be `usize`.
Add | Sub | BitOr | BitAnd | BitXor => {
assert!(left.layout.ty.is_raw_ptr());
assert!(right.layout.ty.is_raw_ptr());
assert_eq!(right.layout.ty, this.tcx.types.usize);
let ptr = left.to_scalar().to_pointer(this)?;
// We do the actual operation with usize-typed scalars.
let left = ImmTy::from_uint(ptr.addr().bytes(), this.machine.layouts.usize);
let right = ImmTy::from_uint(
right.to_scalar().to_target_usize(this)?,
this.machine.layouts.usize,
);
let result = this.binary_op(bin_op, &left, &right)?;
let result = this.binary_op(bin_op, &left, right)?;
// Construct a new pointer with the provenance of `ptr` (the LHS).
let result_ptr = Pointer::new(
ptr.provenance,
Expand Down
2 changes: 1 addition & 1 deletion src/shims/extern_static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl<'tcx> MiriMachine<'tcx> {
}
"android" => {
Self::null_ptr_extern_statics(ecx, &["bsd_signal"])?;
Self::weak_symbol_extern_statics(ecx, &["signal", "getrandom"])?;
Self::weak_symbol_extern_statics(ecx, &["signal", "getrandom", "gettid"])?;
}
"windows" => {
// "_tls_used"
Expand Down
11 changes: 9 additions & 2 deletions src/shims/unix/android/foreign_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ use rustc_span::Symbol;
use rustc_target::callconv::FnAbi;

use crate::shims::unix::android::thread::prctl;
use crate::shims::unix::env::EvalContextExt as _;
use crate::shims::unix::linux_like::epoll::EvalContextExt as _;
use crate::shims::unix::linux_like::eventfd::EvalContextExt as _;
use crate::shims::unix::linux_like::syscall::syscall;
use crate::*;

pub fn is_dyn_sym(_name: &str) -> bool {
false
pub fn is_dyn_sym(name: &str) -> bool {
matches!(name, "gettid")
}

impl<'tcx> EvalContextExt<'tcx> for crate::MiriInterpCx<'tcx> {}
Expand Down Expand Up @@ -54,6 +55,12 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
this.write_scalar(errno_place.to_ref(this).to_scalar(), dest)?;
}

"gettid" => {
let [] = this.check_shim_sig_lenient(abi, CanonAbi::C, link_name, args)?;
let result = this.unix_gettid(link_name.as_str())?;
this.write_scalar(result, dest)?;
}

// Dynamically invoked syscalls
"syscall" => syscall(this, link_name, abi, args, dest)?,

Expand Down
2 changes: 1 addition & 1 deletion tests/fail/alloc/alloc_error_handler_custom.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ note: inside `_::__rg_oom`
--> tests/fail/alloc/alloc_error_handler_custom.rs:LL:CC
|
LL | #[alloc_error_handler]
| ---------------------- in this procedural macro expansion
| ---------------------- in this attribute macro expansion
LL | fn alloc_error_handler(layout: Layout) -> ! {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: inside `alloc::alloc::handle_alloc_error::rt_error` at RUSTLIB/alloc/src/alloc.rs:LL:CC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/function_calls/exported_symbol_bad_unwind1.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/function_calls/exported_symbol_bad_unwind1.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

thread 'main' panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
thread 'main' ($TID) panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
panic in a function that cannot unwind
stack backtrace:
thread caused non-unwinding panic. aborting.
Expand All @@ -18,8 +18,8 @@ LL | ABORT()
= note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_nounwind` at RUSTLIB/core/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_cannot_unwind` at RUSTLIB/core/src/panicking.rs:LL:CC
note: inside `nounwind`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

thread 'main' panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
thread 'main' ($TID) panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
panic in a function that cannot unwind
stack backtrace:
thread caused non-unwinding panic. aborting.
Expand All @@ -18,8 +18,8 @@ LL | ABORT()
= note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_nounwind` at RUSTLIB/core/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_cannot_unwind` at RUSTLIB/core/src/panicking.rs:LL:CC
note: inside `nounwind`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/function_calls/exported_symbol_bad_unwind2.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand Down
2 changes: 1 addition & 1 deletion tests/fail/function_calls/return_pointer_on_unwind.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/function_calls/return_pointer_on_unwind.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/function_calls/return_pointer_on_unwind.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand Down
8 changes: 4 additions & 4 deletions tests/fail/panic/abort_unwind.stderr
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

thread 'main' panicked at tests/fail/panic/abort_unwind.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/abort_unwind.rs:LL:CC:
PANIC!!!
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
thread 'main' ($TID) panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
panic in a function that cannot unwind
stack backtrace:
thread caused non-unwinding panic. aborting.
Expand All @@ -18,8 +18,8 @@ LL | ABORT()
= note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_nounwind` at RUSTLIB/core/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_cannot_unwind` at RUSTLIB/core/src/panicking.rs:LL:CC
= note: inside `std::panic::abort_unwind::<{closure@tests/fail/panic/abort_unwind.rs:LL:CC}, ()>` at RUSTLIB/core/src/panic.rs:LL:CC
Expand Down
2 changes: 1 addition & 1 deletion tests/fail/panic/bad_unwind.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/panic/bad_unwind.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/bad_unwind.rs:LL:CC:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand Down
10 changes: 5 additions & 5 deletions tests/fail/panic/double_panic.stderr
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

thread 'main' panicked at tests/fail/panic/double_panic.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/double_panic.rs:LL:CC:
first
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

thread 'main' panicked at tests/fail/panic/double_panic.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/double_panic.rs:LL:CC:
second
stack backtrace:

thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
thread 'main' ($TID) panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
error: abnormal termination: the program aborted execution
Expand All @@ -21,8 +21,8 @@ LL | ABORT()
= note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_nounwind_nobacktrace` at RUSTLIB/core/src/panicking.rs:LL:CC
= note: inside `core::panicking::panic_in_cleanup` at RUSTLIB/core/src/panicking.rs:LL:CC
note: inside `main`
Expand Down
6 changes: 3 additions & 3 deletions tests/fail/panic/panic_abort1.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/panic/panic_abort1.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/panic_abort1.rs:LL:CC:
panicking from libstd
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand All @@ -17,8 +17,8 @@ LL | ABORT()
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
note: inside `main`
--> tests/fail/panic/panic_abort1.rs:LL:CC
|
Expand Down
6 changes: 3 additions & 3 deletions tests/fail/panic/panic_abort2.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/panic/panic_abort2.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/panic_abort2.rs:LL:CC:
42-panicking from libstd
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand All @@ -17,8 +17,8 @@ LL | ABORT()
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
note: inside `main`
--> tests/fail/panic/panic_abort2.rs:LL:CC
|
Expand Down
6 changes: 3 additions & 3 deletions tests/fail/panic/panic_abort3.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/panic/panic_abort3.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/panic_abort3.rs:LL:CC:
panicking from libcore
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand All @@ -17,8 +17,8 @@ LL | ABORT()
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
note: inside `main`
--> tests/fail/panic/panic_abort3.rs:LL:CC
|
Expand Down
6 changes: 3 additions & 3 deletions tests/fail/panic/panic_abort4.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread 'main' panicked at tests/fail/panic/panic_abort4.rs:LL:CC:
thread 'main' ($TID) panicked at tests/fail/panic/panic_abort4.rs:LL:CC:
42-panicking from libcore
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Expand All @@ -17,8 +17,8 @@ LL | ABORT()
= note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::panicking::panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
= note: inside `std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys/backtrace.rs:LL:CC
= note: inside `std::panicking::panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
note: inside `main`
--> tests/fail/panic/panic_abort4.rs:LL:CC
|
Expand Down
2 changes: 1 addition & 1 deletion tests/fail/panic/tls_macro_const_drop_panic.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread $NAME panicked at tests/fail/panic/tls_macro_const_drop_panic.rs:LL:CC:
thread $NAME ($TID) panicked at tests/fail/panic/tls_macro_const_drop_panic.rs:LL:CC:
ow
fatal runtime error: thread local panicked on drop, aborting
error: abnormal termination: the program aborted execution
Expand Down
2 changes: 1 addition & 1 deletion tests/fail/panic/tls_macro_drop_panic.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

thread $NAME panicked at tests/fail/panic/tls_macro_drop_panic.rs:LL:CC:
thread $NAME ($TID) panicked at tests/fail/panic/tls_macro_drop_panic.rs:LL:CC:
ow
fatal runtime error: thread local panicked on drop, aborting
error: abnormal termination: the program aborted execution
Expand Down
Loading
Loading