theduke opened PR #2915 from interrupt-handle-debug to main:
Just a basic
fmt::Debugimplementation for InterrutpHandle.Motiviation: it's annoying to manually implement Debug for types which hold
a handle.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
VMInterruptsimplementsDebug, so you should be able to deriveDebugforInterruptHandle.
theduke submitted PR review.
theduke created PR review comment:
VMInterruptsis a private imiplementation detail though, with no way to access it via the handle.I feel including it in the debug output would be more confusing than helpful.
theduke edited PR review comment.
theduke edited PR review comment.
theduke edited PR review comment.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
Maybe you could at least expose the
Arcpointer? That would allow for distinguishing between multipleInterruptHandleinstances.
theduke updated PR #2915 from interrupt-handle-debug to main.
theduke submitted PR review.
theduke created PR review comment:
In that case it seems more sensible to just derive it.
Pushed an update.
theduke updated PR #2915 from interrupt-handle-debug to main.
alexcrichton submitted PR review.
alexcrichton merged PR #2915.
Last updated: Dec 06 2025 at 06:05 UTC