rust/tests
Stuart Cook 4bfbd80bab
Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisDenton
thread name in stack overflow message

Fixes rust-lang/rust#144481, which is caused by the thread name not being initialised yet when setting up the stack overflow information. Unfortunately, the stack overflow UI test did not test for the correct thread name being present, and testing this separately didn't occur to me when writing https://github.com/rust-lang/rust/pull/140628.

This PR contains the smallest possible fix I could think of: passing the thread name explicitly to the platform thread creation function. In the future I'd very much like to explore some possibilities around merging the thread packet and thread handle into one structure and using that in the platform code instead – but that's best left for another PR.

This PR also amends the stack overflow test to check for thread names, so we don't run into this again.

``@rustbot`` label +beta-nominated
2025-07-29 20:19:51 +10:00
..
assembly-llvm Rollup merge of #144430 - Gelbpunkt:aarch64-outline-atomics-target, r=Noratrieb 2025-07-26 22:42:37 -04:00
auxiliary So many test updates x_x 2025-07-20 10:15:14 -07:00
codegen-llvm Rollup merge of #144407 - godzie44:godzie44/fix_dwarf_inconsistency, r=wesleywiser 2025-07-29 20:19:49 +10: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: Regression test for "function name is empty" bug 2025-07-29 11:36:43 +10:00
coverage-run-rustdoc
crashes Check static is sized when building MIR. 2025-07-25 02:31:59 +00:00
debuginfo Rephrase comment to include some tracking issues 2025-07-21 21:57:08 +02:00
incremental Bless incremental tests. 2025-07-13 13:50:01 +00:00
mir-opt Allow more MIR SROA 2025-07-27 13:21:06 -07:00
pretty Update uitest stderrs 2025-07-23 13:33:23 +02:00
run-make Rollup merge of #144523 - ojeda:rustdoc-target-modifiers, r=GuillaumeGomez 2025-07-28 01:16:39 +02:00
rustdoc Regression test 2025-07-17 08:03:17 +02:00
rustdoc-gui Update rustdoc GUI tests 2025-07-01 15:49:45 +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: Structured attributes 2025-07-15 16:52:41 +00:00
rustdoc-ui Specify of_trait in Target::Impl. 2025-07-17 22:21:21 +00:00
ui Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisDenton 2025-07-29 20:19:51 +10:00
ui-fulldeps use RustcPublic instead of StableMir 2025-07-18 18:49:32 +00:00
COMPILER_TESTS.md