8000 linux: change some APIs to use mem address rather than mapping index by schopin-mozilla · Pull Request #210 · rust-minidump/minidump-writer · GitHub
[go: up one dir, main page]

Skip to content
8000

linux: change some APIs to use mem address rather than mapping index - #210

Merged
marti4d merged 1 commit into
rust-minidump:mainfrom
schopin-mozilla:apis-index
Aug 17, 2026
Merged

marti4d merged 1 commit into
rust-minidump:mainfrom
schopin-mozilla:apis-index

Conversation

@schopin-mozilla
Copy link
Copy Markdown
Collaborator

Those APIs are used to get data that's typically module-related, so having them take in an index into the mappings list can get pretty awkward once we start separating those concerns.

As a bonus, I find the client code to be more readable, although YMMV.

Split off #195 (I'm running out of small pieces I can spin out independently, sadly)

Those APIs are used to get data that's typically module-related, so
having them take in an index into the *mappings* list can get pretty
awkward once we start separating those concerns.

As a bonus, I find the client code to be more readable, although YMMV.
@marti4d marti4d left a comment
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lol thanks for doing this -- Yep, I agree. The old API was awkward, and this is much better.

@marti4d
marti4d merged commit 45bb263 into rust-minidump:main Aug 17, 2026
16 checks passed
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

0