rust-lang / backtrace-rs

Backtraces in Rust
https://docs.rs/backtrace
Other
537 stars 246 forks source link

Refactor gimli implementation to avoid `mk!` macro #379

Closed alexcrichton closed 4 years ago

alexcrichton commented 4 years ago

This commit refactors a bit to avoid using a macro for constructing a Mapping and instead adds a dedicated function. This is a bit easier to navigate and will hopefully help deduplicate construction of a Mapping as well.