feat(api/wasm-common) Move WasmExternType from wasm-common to wasmer.

Because there is a trait implementation conflicts for the
implementations `WasmTypeList` for `$x*` where `$x: WasmExternType`.
This commit is contained in:
Ivan Enderlin
2020-06-22 11:10:18 +02:00
parent 63ec941dac
commit 07aff22c30
7 changed files with 60 additions and 62 deletions

View File

@@ -13,9 +13,9 @@ use crate::externals::function::{
FunctionDefinition, HostFunctionDefinition, VMDynamicFunction, VMDynamicFunctionWithEnv,
VMDynamicFunctionWithoutEnv, WasmFunctionDefinition,
};
use crate::{Function, FunctionType, RuntimeError, Store, WasmTypeList};
use crate::{Function, FunctionType, RuntimeError, Store, WasmExternType, WasmTypeList};
use std::panic::{catch_unwind, AssertUnwindSafe};
use wasm_common::{NativeWasmType, WasmExternType};
use wasm_common::NativeWasmType;
use wasmer_runtime::{
ExportFunction, VMContext, VMDynamicFunctionContext, VMFunctionBody, VMFunctionKind,
};