Skip to content

Commit

Permalink
Update debuginfod requirement from 0.1.1 to 0.2.0
Browse files Browse the repository at this point in the history
Updates the requirements on [debuginfod](https://github.com/d-e-s-o/debuginfod) to permit the latest version.
- [Release notes](https://github.com/d-e-s-o/debuginfod/releases)
- [Changelog](https://github.com/d-e-s-o/debuginfod/blob/main/CHANGELOG.md)
- [Commits](d-e-s-o/debuginfod@v0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: debuginfod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and d-e-s-o committed Nov 18, 2024
1 parent 81ac0e5 commit 77caf3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/sym-debuginfod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ path = "main.rs"
anyhow = "1.0"
blazesym = {version = "=0.2.0-rc.2", path = "../..", features = ["tracing"]}
clap = {version = "4.4", features = ["derive", "string"]}
debuginfod = {version = "0.1.1", features = ["fs-cache", "tracing"]}
debuginfod = {version = "0.2.0", features = ["fs-cache", "tracing"]}
tracing = "0.1"
tracing-subscriber = {version = "0.3", features = ["ansi", "env-filter", "fmt"]}
6 changes: 5 additions & 1 deletion examples/sym-debuginfod/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use blazesym::Pid;
use clap::ArgAction;
use clap::Parser;

use debuginfod::BuildId;
use debuginfod::CachingClient;
use debuginfod::Client;

Expand Down Expand Up @@ -134,7 +135,10 @@ fn dispatch_process(
return Ok(None)
};

let path = if let Some(path) = client.fetch_debug_info(&build_id).map_err(Box::from)? {
let path = if let Some(path) = client
.fetch_debug_info(&BuildId::raw(build_id))
.map_err(Box::from)?
{
path
} else {
// If we were unable to find debug information for the provided
Expand Down

0 comments on commit 77caf3f

Please sign in to comment.