Skip to content

GC allocation failure during const-expr evaluation can lead to a panic #11469

Closed

Description

@alexcrichton

Currently almost all evaluation of const-expr ops unwraps the result, but failures can happen due to GC failures for example. This isn't propagated and will result in an embedder panic. We should change all unwrap to ? to propagate errors upwards.

(related to the niche issue fixed in #11468, but different issue)

Activity

  1. added a commit that references this issue on Aug 28, 2025
    69c4039
  2. added a commit that references this issue on Aug 28, 2025
    7941919
  3. added a commit that references this issue on Oct 20, 2025
    6e2aee4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wasm-proposal:gcIssues with the implementation of the gc wasm proposal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions