Skip to content

Move custom panic hook function to the crate root#217

Merged
Meziu merged 1 commit intorust3ds:masterfrom
FenrirWolf:move_panic_hook
Aug 9, 2025
Merged

Move custom panic hook function to the crate root#217
Meziu merged 1 commit intorust3ds:masterfrom
FenrirWolf:move_panic_hook

Conversation

@FenrirWolf
Copy link
Member

Setting the ctru panic hook can be pretty useful even if you don't intend to do anything else with the error applet, and I suspect that most users don't realize that this function exists at all. So I figured we might as well move the function to a more conspicuous location.

@FenrirWolf FenrirWolf requested a review from a team as a code owner May 6, 2025 06:33
Copy link
Member

@Meziu Meziu left a comment

Choose a reason for hiding this comment

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

I'm ok with the transfer, since it should be clear that the hook uses the error applet in the documentation.

@Meziu Meziu merged commit 4d9587d into rust3ds:master Aug 9, 2025
2 of 4 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