When we try to bump to wasmtime v22.0.0 in tree-sitter/tree-sitter#3428 we get the following error:
cargo:warning=/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmtime-c-api-impl-22.0.0/include/wasi.h:12:10: fatal error: wasmtime/conf.h: No such file or directory
cargo:warning= 12 | #include <wasmtime/conf.h>
cargo:warning= | ^~~~~~~~~~~~~~~~~
When I checked this locally it seems that conf.h is not being generated when building the c-api via a crate as I could not find it in cargo:warning=/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmtime-c-api-impl-22.0.0/include/, which is where I assumed it would be as that's where the headers are looking for it.