Update wasmparser for exception handling (#2431)

This commit is contained in:
Yury Delendik
2020-11-19 14:08:10 -06:00
committed by GitHub
parent 72811d35ae
commit e34b410381
16 changed files with 131 additions and 41 deletions

View File

@@ -16,7 +16,7 @@ wasmtime-jit = { path = "../jit", version = "0.21.0" }
wasmtime-cache = { path = "../cache", version = "0.21.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.21.0" }
target-lexicon = { version = "0.11.0", default-features = false }
wasmparser = "0.67.0"
wasmparser = "0.68.0"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"

View File

@@ -133,6 +133,7 @@ impl ValType {
wasm::WasmType::V128 => Self::V128,
wasm::WasmType::FuncRef => Self::FuncRef,
wasm::WasmType::ExternRef => Self::ExternRef,
wasm::WasmType::ExnRef => unimplemented!(),
}
}
}
@@ -222,6 +223,7 @@ impl ExternType {
};
InstanceType::from_wasmtime(module, exports).into()
}
EntityType::Event(_) => unimplemented!("wasm event support"),
}
}
}