about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2023-07-12 23:08:56 -0700
committerJubilee Young <workingjubilee@gmail.com>2023-07-19 00:19:23 -0700
commit1e65b5b741719cc4a7bee80fc4c5299a95f8d631 (patch)
tree1184b041243b2d61dbbc80be3d1fa35c73d5606f /tests/rustdoc-js-std/parser-errors.js
parent4fa00c25076c34d7b6ddad9b918c6cd64ae783c3 (diff)
downloadrust-1e65b5b741719cc4a7bee80fc4c5299a95f8d631.tar.gz
rust-1e65b5b741719cc4a7bee80fc4c5299a95f8d631.zip
Add recursion detection to signal-safe backtrace
This cleans up the formatting of the backtrace considerably,
dodging the fact that a backtrace with recursion normally
emits hundreds of lines. Instead, simply write repeated symbols,
and add how many times the recursion occurred.
Also, it makes it look more like the "normal" backtrace.

Some fine details in the code are important for reducing
the amount of possible panic branches.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions