Support hiding specific stackframes from backtrace by marking on the original functions. #68336
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Recently
#[track_caller]
usages has landed on nightly channel, which is really great! However i want to request a little more here. Currentlyoutput is:
However, of the 22 stack frames, only 3 or 4 is meaningful to user. It would be great if rest of the functions can be marked with a special attribute, and maybe marked somehow in the mangled symbol, then be excluded from the default display of backtrace.
The text was updated successfully, but these errors were encountered: