Skip to content

Put the panic handler behind a feature flag #2

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

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

tgross35
Copy link
Contributor

Shipping with a panic handler was messing my docs with crates that had >1 binary. Not sure why that issue exists and it's not this crate's fault, but I figured putting the handler behind a feature flag isn't a bad idea just in case somebody wants something specific.

I don't currently have hardware to test this with, so please verify this works as intended if you are able to.

Copy link
Member

@Tiwalun Tiwalun left a comment

Choose a reason for hiding this comment

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

Thanks, that's a good addition!

Just a small nit regarding the actual behaviour of the handler, other than that it's good to go.

@tgross35
Copy link
Contributor Author

Whoops, sorry I missed that! I did the change, should be all set now

@Yatekii Yatekii merged commit 0d68027 into probe-rs:master Feb 24, 2023
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.

3 participants