bytecodealliance / bytecodealliance/wasmtime
[C-Api] Expose Memory Options to the C-Api so platforms like dotnet can limit cpu/memory
Open
wasmtime:c-api
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
#### Feature
Expose `static_memory_guard_size`, `dynamic_memory_guard_size`, and `ResourceLimiter` to the C-Api so platforms like dotnet can limit cpu/memory
#### Benefit
Wasmtime dotnet (for example) using the C-Api won't be able to limit the total memory during runtime. Use case: limiting memory to a certain amount for platforms that have limited memory (like 256MB).
Contributor guide
Assessment
This issue has not been assessed yet.