bytecodealliance / bytecodealliance/wasmtime

c-api: allow top level API to set `wasm-timeout`

Open
#5,059 3 comments 0 reactions 0 assignees View on GitHub
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

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.