bytecodealliance / bytecodealliance/wasmtime

[C-Api] Expose Memory Options to the C-Api so platforms like dotnet can limit cpu/memory

Open
#11,434 1 comment 0 reactions 0 assignees View on GitHub
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

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.