Update Rust crate addr2line to 0.23 (#709)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [addr2line](https://togithub.com/gimli-rs/addr2line) | dependencies |
minor | `0.22` -> `0.23` |

---

### Release Notes

<details>
<summary>gimli-rs/addr2line (addr2line)</summary>

###
[`v0.23.0`](https://togithub.com/gimli-rs/addr2line/blob/HEAD/CHANGELOG.md#0230-20240526)

[Compare
Source](https://togithub.com/gimli-rs/addr2line/compare/0.22.0...0.23.0)

##### Breaking changes

-   Updated `gimli` dependency.

- Deleted `Context::new`, `Context::new_with_sup`, and
`builtin_split_dwarf_loader`.
    Use `Context::from_dwarf` or `Loader::new` instead.
    This removes `object` from the public API.
    [#&#8203;296](https://togithub.com/gimli-rs/addr2line/pull/296)

##### Changed

-   Fixed handling of column 0 in the line table.
    [#&#8203;290](https://togithub.com/gimli-rs/addr2line/pull/290)

- Moved `addr2line` from `examples` to `bin`. Requires the `bin`
feature.
    [#&#8203;291](https://togithub.com/gimli-rs/addr2line/pull/291)

-   Split up `lib.rs` into smaller modules.
    [#&#8203;292](https://togithub.com/gimli-rs/addr2line/pull/292)

##### Added

-   Added `Loader`. Requires the `loader` feature.
    [#&#8203;296](https://togithub.com/gimli-rs/addr2line/pull/296)
    [#&#8203;297](https://togithub.com/gimli-rs/addr2line/pull/297)

-   Added unpacked Mach-O support to `Loader`.
    [#&#8203;298](https://togithub.com/gimli-rs/addr2line/pull/298)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
This commit is contained in:
Gwilym Inzani 2024-05-27 10:06:11 +01:00 committed by GitHub
commit 97d474e989
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -8,12 +8,12 @@ description = "CLI utility to convert agb stack trace dumps into human readable
repository = "https://github.com/agbrs/agb"
[dependencies]
addr2line = { version = "0.23", default-features = false, features = ["rustc-demangle"] }
gimli = { version = "0.30", default-features = false, features = ["endian-reader", "std"] }
object = { version = "0.36", default-features = false, features = ["read"] }
thiserror = "1"
clap = { version = "4", features = ["derive"] }
addr2line = { version = "0.22", default-features = false, features = [
"rustc-demangle",
"std-object",
] }
colored = "2"
rmp-serde = "1"
lz4_flex = "0.11"

View file

@ -1,9 +1,7 @@
use std::{borrow::Cow, collections::HashMap, io::Cursor, rc::Rc};
use addr2line::{
gimli,
object::{self, Object},
};
use addr2line::gimli;
use object::Object;
use thiserror::Error;
#[derive(Debug, Error)]