Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dir_section and mem_writer modules public #53

Merged
merged 2 commits into from Aug 24, 2022
Merged

Make dir_section and mem_writer modules public #53

merged 2 commits into from Aug 24, 2022

Conversation

ghost
Copy link

@ghost ghost commented Aug 17, 2022

I plan to construct minidumps from other data sources, so having access to types provided by these modules would be helpful.

Based on the current public API it seems the primary use case of minidump-writer is to construct a minidump by introspecting on the current execution environment.

Could you support this use case, either by adopting this change or working with me to find another solution?

`./examples/synthetic.rs` demonstrates how consumers may use those
modules, regardless of `target_os`, to construct and serialize a
minidump.
@gabrielesvelto
Copy link
Contributor

This is fine by me, @Jake-Shadle @Gankra have you any opinions on this?

@Jake-Shadle Jake-Shadle self-requested a review August 24, 2022 05:31
Copy link
Collaborator

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

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

I guess this is fine for now, but might make more sense to pull out the helpers around writing the minidump to the minidump crate at some point since it feels a bit weird to compile a bunch of code meant for inspecting external process state without using any of it.

@Jake-Shadle Jake-Shadle merged commit fa62f1a into rust-minidump:main Aug 24, 2022
@ghost ghost deleted the expose-modules branch August 29, 2022 21:27
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.

None yet

2 participants