Skip to content

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

@alexcrichton

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)

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