ThePuzzlemaker requested cfallin for a review on PR #9083.
ThePuzzlemaker requested wasmtime-compiler-reviewers for a review on PR #9083.
ThePuzzlemaker opened PR #9083 from ThePuzzlemaker:entity-packedoption-track-caller to bytecodealliance:main:
This PR adds the
#[track_caller]attribute toPackedOption::unwrapandPackedOption::expect. Using this attribute greatly improves the panic message of any.expector.unwrapon aPackedOptionby using the caller's location, not the location ofpacked_option.rswithincranelift-entity.
cfallin submitted PR review:
Seems reasonable; neat to learn about this attribute. Thanks!
cfallin merged PR #9083.
Last updated: Dec 06 2025 at 06:05 UTC