Fix calls to wasmtime_wat2wasm to remove engine argument.

This commit is contained in:
Peter Huene
2020-03-25 18:55:54 -07:00
parent cf1d9ee857
commit f40693d9e8
5 changed files with 5 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ int main(int argc, const char* argv[]) {
// Parse the wat into the binary wasm format
wasm_byte_vec_t binary, error;
if (wasmtime_wat2wasm(engine, &wat, &binary, &error) == 0) {
if (wasmtime_wat2wasm(&wat, &binary, &error) == 0) {
fprintf(stderr, "failed to parse wat %.*s\n", (int) error.size, error.data);
return 1;
}