diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-02-12 03:48:20 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-02-11 22:33:08 -0600 |
| commit | e106d63516b7e1a75c3e2e8873ac805b8833b192 (patch) | |
| tree | bfe48969e247b85f3e8f59e238b581170122cf61 /tests/codegen/patchable-function-entry | |
| parent | aa26cab257d34a8d8786f6c607b67fd70b467ce6 (diff) | |
| download | rust-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
