bytecodealliance / bytecodealliance/wasmtime
shared memory: no way to report memory growth failure
Open
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
Assessment
This issue has not been assessed yet.