bytecodealliance / bytecodealliance/wasmtime
c-api: allow top level API to set `wasm-timeout`
Open
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 126
Description
#### Feature
Hi Folks,
Thanks for creating this wonderful runtime. I was wondering if there are any plans to expose `wasm-timeout` at `c-api` level ?
It will allow users of `c-api` to timout the runtime as per the needs.
#### Benefit
Provides a `timout` knob for `c-api` users, giving more control to the end users.
#### Implementation
Maybe creating a top level interface and make timeout part of `wasi_config_t` could work ?
Contributor guide
Assessment
This issue has not been assessed yet.