guys, upgrading our wasmtime (using c-api), first time in ages. windows only build for now.
wasmtime_config_debug_info_set seems to have vanished. what's that called now, plz.
working around what seems to be an error :
Z:\dev\wasm\wasmtime\crates\c-api\include\wasmtime\config.h(11,10): error C1083: Cannot open include file: 'wasmtime/conf.h': No such file or directory
I've got no conf.h built in my tree.
k, debug_info resolves via a macro. commenting out
//#include <wasmtime/conf.h>
in config.h enables successful build.
got a conf.h.in that doesn't seem to have processed.
didn't run cmake. perhaps that's it.
just did what worked previously which was :
cargo build --release
cargo build --release --manifest-path crates/c-api/Cargo.toml
no mention of a cmake dependency here : https://docs.wasmtime.dev/contributing-building.html
went with pre-compiled 22 c-api & our stuff seems to be working as expected. so step back & figure out how to compile that myself.
resolved. kinda. built 22 using : cargo build --release -p wasmtime-c-api
as per docs. doesn't build conf.h as that needs cmake to do something or other, which isn't documented.
just copied in a conf.h from pre-compiled c-api for now.
Steve Williams has marked this topic as resolved.
9 messages were moved here from #wasmtime > ✔ _ by Steve Williams.
Last updated: Nov 22 2024 at 16:03 UTC