about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-weird-queries.js
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2025-04-21 15:55:57 +0000
committerGitHub <noreply@github.com>2025-04-21 15:55:57 +0000
commit24bd5649b1d7fd3c0467703f249ac05fb0991567 (patch)
treea3915305e96a0d694a368cc44e43f2f98250689b /tests/rustdoc-js-std/parser-weird-queries.js
parent10e17dc3a4e9fac243e9ebbcfa8d344ac951c289 (diff)
parent17b7d63fd787699dac3fffbf9930dc799291a5f2 (diff)
downloadrust-24bd5649b1d7fd3c0467703f249ac05fb0991567.tar.gz
rust-24bd5649b1d7fd3c0467703f249ac05fb0991567.zip
Rollup merge of #140009 - ShE3py:tls-abort, r=thomcc
docs(LocalKey<T>): clarify that T's Drop shouldn't panic

Clarify that should a TLS destructor panics, the process will abort.

Also, an abort may be obfuscated as the process can be terminated with `SIGSEGV` or [`STATUS_STACK_BUFFER_OVERRUN`](https://devblogs.microsoft.com/oldnewthing/20190108-00/?p=100655) (i.e., `SIGABRT` is not guaranteed), so explicitly prints that the process was aborted.

Context:
https://users.rust-lang.org/t/status-stack-buffer-overrun-on-windows-without-any-usage-of-unsafe/128417

``@rustbot`` label -T-compiler
Diffstat (limited to 'tests/rustdoc-js-std/parser-weird-queries.js')
0 files changed, 0 insertions, 0 deletions