See the C API changes [here](https://github.com/bytecodealliance/wasmtime/pull/2472#pullrequestreview-544481017).