rust/tests
Trevor Gross 289fe36d37 Print thread ID in panic message if thread name is unknown
`panic!` does not print any identifying information for threads that are
unnamed. However, in many cases, the thread ID can be determined.

This changes the panic message from something like this:

    thread '<unnamed>' panicked at src/main.rs:3:5:
    explicit panic

To something like this:

    thread '<unnamed>' (0xff9bf) panicked at src/main.rs:3:5:
    explicit panic

Stack overflow messages are updated as well.

This change applies to both named and unnamed threads. The ID printed is
the OS integer thread ID rather than the Rust thread ID, which should
also be what debuggers print.
2025-08-06 23:59:47 +00:00
..
assembly-llvm Rollup merge of #144395 - folkertdev:fortanix-run-make-test, r=jieyouxu 2025-08-02 11:24:23 +02:00
auxiliary So many test updates x_x 2025-07-20 10:15:14 -07:00
codegen-llvm Preserve the .debug_gdb_scripts section 2025-08-05 10:55:07 +02:00
codegen-units Auto merge of #142893 - Mark-Simulacrum:no-const-collect, r=oli-obk 2025-06-27 12:57:05 +00:00
coverage coverage: Remove -Zcoverage-options=no-mir-spans 2025-08-04 13:48:40 +10:00
coverage-run-rustdoc
crashes Auto merge of #144405 - lcnr:hir-typeck-uniquify, r=BoxyUwU 2025-07-31 00:32:55 +00:00
debuginfo Embed GDB pretty printers in rlibs and dylibs 2025-08-06 13:24:43 +02:00
incremental Bless incremental tests. 2025-07-13 13:50:01 +00:00
mir-opt Dont print arg span in MIR dump for tail call 2025-08-04 18:35:43 +00:00
pretty expand: Micro-optimize prelude injection 2025-07-28 17:35:09 +03:00
run-make Print thread ID in panic message if thread name is unknown 2025-08-06 23:59:47 +00:00
rustdoc Rollup merge of #143662 - obi1kenobi:pg/unsafe-attribute-wrappers, r=t-rustdoc 2025-08-02 11:24:21 +02:00
rustdoc-gui Add GUI regression test for tooltips i icons 2025-08-04 19:17:08 +02:00
rustdoc-js Add test for aliases partial match 2025-07-16 14:27:22 +02:00
rustdoc-js-std Add test for aliases partial match 2025-07-16 14:27:22 +02:00
rustdoc-json rustdoc-json: Move #[macro_export] from Other to it's own variant 2025-07-30 19:57:32 +00:00
rustdoc-ui Print thread ID in panic message if thread name is unknown 2025-08-06 23:59:47 +00:00
ui Print thread ID in panic message if thread name is unknown 2025-08-06 23:59:47 +00:00
ui-fulldeps use RustcPublic instead of StableMir 2025-07-18 18:49:32 +00:00
COMPILER_TESTS.md