bytecodealliance / bytecodealliance/wasmtime

shared memory: no way to report memory growth failure

Open
#4,240 4 comments 0 reactions 0 assignees View on GitHub
wasm-proposal:threads
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

In certain cases, a shared memory will not have an associated store. A `ResourceLimiter` is attached to a store to not only constrain the resources use but also accept certain error scenarios, e.g., when a memory growth operation fails. If memory growth fails for a shared memory, some code should handle the error but as of #4187 there is no mechanism to do so.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.