Fix calls to wasmtime_wat2wasm to remove engine argument.
This commit is contained in:
@@ -59,7 +59,7 @@ int main() {
|
||||
|
||||
// Parse the wat into the binary wasm format
|
||||
wasm_byte_vec_t wasm, error;
|
||||
if (wasmtime_wat2wasm(engine, &wat, &wasm, &error) == 0) {
|
||||
if (wasmtime_wat2wasm(&wat, &wasm, &error) == 0) {
|
||||
fprintf(stderr, "failed to parse wat %.*s\n", (int) error.size, error.data);
|
||||
goto free_store;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user