about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-02-12 03:48:20 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-02-11 22:33:08 -0600
commite106d63516b7e1a75c3e2e8873ac805b8833b192 (patch)
treebfe48969e247b85f3e8f59e238b581170122cf61 /tests/codegen/patchable-function-entry
parentaa26cab257d34a8d8786f6c607b67fd70b467ce6 (diff)
downloadrust-e106d63516b7e1a75c3e2e8873ac805b8833b192.tar.gz
rust-e106d63516b7e1a75c3e2e8873ac805b8833b192.zip
Add a way to print inputs on failure
When there is a panic in an extensive test, tracing down where it came
from can be difficult since no information is provides (messeges are
e.g. "attempted to subtract with overflow"). Resolve this by calling the
functions within `panic::catch_unwind`, printing the input, and
continuing.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions