Skip to content

deps: Update pdb-addr2line to 0.12.0#1018

Merged
loewenheim merged 2 commits into
masterfrom
sebastian/pdb-addr2line
Jul 16, 2026
Merged

deps: Update pdb-addr2line to 0.12.0#1018
loewenheim merged 2 commits into
masterfrom
sebastian/pdb-addr2line

Conversation

@loewenheim

Copy link
Copy Markdown
Contributor

This change is long past due. By doing this, we move from our unmaintained pdb crate to the maintained pdb2 fork (https://crates.io/crates/pdb2). As afranchuk/pdb@master...getsentry:pdb:master shows, pdb contains no significant changes that pdb2 doesn't have.

@loewenheim loewenheim self-assigned this Jul 16, 2026
@loewenheim
loewenheim requested a review from a team as a code owner July 16, 2026 10:53
This change is long past due. By doing this, we move from our
unmaintained `pdb` crate to the maintained `pdb2` fork (https://crates.io/crates/pdb2).
As afranchuk/pdb@master...getsentry:pdb:master
shows, `pdb` contains no significant changes that `pdb2` doesn't have.
@loewenheim
loewenheim force-pushed the sebastian/pdb-addr2line branch from 8af8df6 to 054e84e Compare July 16, 2026 10:55

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RwLock/Mutex changes in this file are down to the fact that pdb_addr2line::TypeFormatter::new_from_parts now requires its first parameter to be Sync.


// Used for CFI, remove once abstraction is complete
#[doc(hidden)]
pub use pdb_addr2line::pdb;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that we're exposing pdb here, as well as the hidden inner method down below, strictly speaking make this a breaking change.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL "remove once abstraction is complete" looks like an old comment.


// Used for CFI, remove once abstraction is complete
#[doc(hidden)]
pub use pdb_addr2line::pdb;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL "remove once abstraction is complete" looks like an old comment.

@loewenheim
loewenheim merged commit b677dda into master Jul 16, 2026
24 checks passed
@loewenheim
loewenheim deleted the sebastian/pdb-addr2line branch July 16, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants