mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Update Rust crate addr2line to 0.22 (#633)
[![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.21` -> `0.22` | --- ### Release Notes <details> <summary>gimli-rs/addr2line (addr2line)</summary> ### [`v0.22.0`](https://togithub.com/gimli-rs/addr2line/blob/HEAD/CHANGELOG.md#0220-20240411) [Compare Source](https://togithub.com/gimli-rs/addr2line/compare/0.21.0...0.22.0) ##### Breaking changes - Updated `gimli` and `object` dependencies. *** </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
This commit is contained in:
commit
e7bf7bba94
|
@ -10,7 +10,7 @@ repository = "https://github.com/agbrs/agb"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
clap = { version = "4", features = ["derive"] }
|
clap = { version = "4", features = ["derive"] }
|
||||||
addr2line = { version = "0.21", default-features = false, features = [
|
addr2line = { version = "0.22", default-features = false, features = [
|
||||||
"rustc-demangle",
|
"rustc-demangle",
|
||||||
"std-object",
|
"std-object",
|
||||||
] }
|
] }
|
||||||
|
|
|
@ -61,13 +61,12 @@ fn load_from_object<'file>(
|
||||||
gimli::RunTimeEndian::Big
|
gimli::RunTimeEndian::Big
|
||||||
};
|
};
|
||||||
|
|
||||||
fn load_section<'data: 'file, 'file, O, Endian>(
|
fn load_section<'data, Endian>(
|
||||||
id: gimli::SectionId,
|
id: gimli::SectionId,
|
||||||
file: &'file O,
|
file: &impl object::Object<'data>,
|
||||||
endian: Endian,
|
endian: Endian,
|
||||||
) -> Result<gimli::EndianRcSlice<Endian>, gimli::Error>
|
) -> Result<gimli::EndianRcSlice<Endian>, gimli::Error>
|
||||||
where
|
where
|
||||||
O: object::Object<'data, 'file>,
|
|
||||||
Endian: gimli::Endianity,
|
Endian: gimli::Endianity,
|
||||||
{
|
{
|
||||||
use object::ObjectSection;
|
use object::ObjectSection;
|
||||||
|
|
Loading…
Reference in a new issue