bytecodealliance / bytecodealliance/wasmtime

Is it possible to enable exception handling in the C-API for windows build?

Open
#11,580 4 comments 0 reactions 0 assignees View on GitHub
wasm-proposal:exceptions wasmtime:c-api
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

Hi,

Is there any way to enable exception handling in the C-API build for windows or do I need to wait for full support? I tried modifying the CMakeLists.txt with:

set(WASMTIME_USER_CARGO_BUILD_OPTIONS "--features=cranelift,gc" CACHE STRING "Additional cargo flags (such as --features) to apply to the build command")

But it doesn't seem to work. I want to build wasmtime.dll for windows with exception handling so that I can run Lua in wasmtime-dotnet. (I'm doing work for the OPC Foundation to enable constraint handling)

Thanks,

Peter.

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.