bytecodealliance / bytecodealliance/wasmtime
wasmtime: Add a config knob to control the maximum number of stack frames captured in a backtrace
Open
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
Would make capturing a backtrace go from `O(n)` where `n` is the number of Wasm frames on the stack to constant time for some user-defined acceptable constant. Max frames could be set to zero to disable backtraces completely. Would subsume the current (and deprecated) `Config::wasm_backtrace` method.
Follow up to #5049.
Contributor guide
Assessment
This issue has not been assessed yet.