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