Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify backtrace handling #216

Open
nspin opened this issue Oct 25, 2024 · 0 comments
Open

Simplify backtrace handling #216

nspin opened this issue Oct 25, 2024 · 0 comments

Comments

@nspin
Copy link
Member

nspin commented Oct 25, 2024

Currently, the complicating factor is supporting moving backtrace data around without an allocator. This is a requirement, but could be done more simply by just using ArrayVec and requiring the user to specify an upper bound on the length of the backtrace.

Perhaps a trait could be used to abstract over the consumer of frame addresses. A consumer could send them using postcard, assemble them into a Vec, or assemble them into an ArrayVec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant