Rename vm::Export to vm::VMExport

This commit is contained in:
Mark McCaskey
2020-11-30 11:38:14 -08:00
parent 8669e92ed4
commit 9e0cfcebbb
9 changed files with 66 additions and 64 deletions

View File

@@ -8,7 +8,7 @@ use crate::RuntimeError;
use std::fmt;
use std::sync::Arc;
use wasmer_engine::EngineExport;
use wasmer_vm::{ExportGlobal, Global as RuntimeGlobal};
use wasmer_vm::{Global as RuntimeGlobal, VMExportGlobal};
/// A WebAssembly `global` instance.
///
@@ -181,7 +181,7 @@ impl Global {
Ok(())
}
pub(crate) fn from_export(store: &Store, wasmer_export: ExportGlobal) -> Self {
pub(crate) fn from_export(store: &Store, wasmer_export: VMExportGlobal) -> Self {
Self {
store: store.clone(),
global: wasmer_export.from,
@@ -217,7 +217,7 @@ impl fmt::Debug for Global {
impl<'a> Exportable<'a> for Global {
fn to_export(&self) -> EngineExport {
ExportGlobal {
VMExportGlobal {
from: self.global.clone(),
}
.into()