From 8c845c9f37d73d9ef5470de08a5c823816bc11c2 Mon Sep 17 00:00:00 2001 From: vms Date: Sat, 6 Jun 2020 02:31:59 +0300 Subject: [PATCH] rename instance to module --- fce/src/vm/fce.rs | 2 +- fce/src/vm/mod.rs | 4 ++-- fce/src/vm/{instance => module}/exports.rs | 0 fce/src/vm/{instance => module}/fce_module.rs | 0 fce/src/vm/{instance => module}/memory.rs | 0 fce/src/vm/{instance => module}/mod.rs | 0 fce/src/vm/{instance => module}/type_converters.rs | 0 fce/src/vm/{instance => module}/wit_function.rs | 0 fce/src/vm/{instance => module}/wit_instance.rs | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename fce/src/vm/{instance => module}/exports.rs (100%) rename fce/src/vm/{instance => module}/fce_module.rs (100%) rename fce/src/vm/{instance => module}/memory.rs (100%) rename fce/src/vm/{instance => module}/mod.rs (100%) rename fce/src/vm/{instance => module}/type_converters.rs (100%) rename fce/src/vm/{instance => module}/wit_function.rs (100%) rename fce/src/vm/{instance => module}/wit_instance.rs (100%) diff --git a/fce/src/vm/fce.rs b/fce/src/vm/fce.rs index e24f9d2e..b5083244 100644 --- a/fce/src/vm/fce.rs +++ b/fce/src/vm/fce.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use super::instance::FCEModule; +use super::module::FCEModule; use super::*; use crate::WasmProcess; use crate::NodeFunction; diff --git a/fce/src/vm/mod.rs b/fce/src/vm/mod.rs index b973c35d..c8b1cc44 100644 --- a/fce/src/vm/mod.rs +++ b/fce/src/vm/mod.rs @@ -15,7 +15,7 @@ */ mod fce; -mod instance; +mod module; mod config; mod prepare; mod errors; @@ -23,4 +23,4 @@ mod errors; pub use fce::FCE; pub use config::FCEModuleConfig; pub use errors::FCEError; -pub use instance::{IType, IValue}; +pub use module::{IType, IValue}; diff --git a/fce/src/vm/instance/exports.rs b/fce/src/vm/module/exports.rs similarity index 100% rename from fce/src/vm/instance/exports.rs rename to fce/src/vm/module/exports.rs diff --git a/fce/src/vm/instance/fce_module.rs b/fce/src/vm/module/fce_module.rs similarity index 100% rename from fce/src/vm/instance/fce_module.rs rename to fce/src/vm/module/fce_module.rs diff --git a/fce/src/vm/instance/memory.rs b/fce/src/vm/module/memory.rs similarity index 100% rename from fce/src/vm/instance/memory.rs rename to fce/src/vm/module/memory.rs diff --git a/fce/src/vm/instance/mod.rs b/fce/src/vm/module/mod.rs similarity index 100% rename from fce/src/vm/instance/mod.rs rename to fce/src/vm/module/mod.rs diff --git a/fce/src/vm/instance/type_converters.rs b/fce/src/vm/module/type_converters.rs similarity index 100% rename from fce/src/vm/instance/type_converters.rs rename to fce/src/vm/module/type_converters.rs diff --git a/fce/src/vm/instance/wit_function.rs b/fce/src/vm/module/wit_function.rs similarity index 100% rename from fce/src/vm/instance/wit_function.rs rename to fce/src/vm/module/wit_function.rs diff --git a/fce/src/vm/instance/wit_instance.rs b/fce/src/vm/module/wit_instance.rs similarity index 100% rename from fce/src/vm/instance/wit_instance.rs rename to fce/src/vm/module/wit_instance.rs