diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index 73912e7..41c54d1 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -1,5 +1,7 @@ //! WebAssembly interpreter module. +#![allow(deprecated)] + use std::any::TypeId; use validation; use common; diff --git a/src/interpreter/program.rs b/src/interpreter/program.rs index 84d06d6..973b6d6 100644 --- a/src/interpreter/program.rs +++ b/src/interpreter/program.rs @@ -9,6 +9,7 @@ use interpreter::value::RuntimeValue; use interpreter::imports::{Imports, ImportResolver}; /// Program instance. Program is a set of instantiated modules. +#[deprecated] pub struct ProgramInstance { modules: HashMap>>, resolvers: HashMap>>, diff --git a/src/lib.rs b/src/lib.rs index 8c61c33..88b9585 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +22,7 @@ pub use elements::{ peek_size, }; +#[allow(deprecated)] pub use interpreter::{ ProgramInstance, RuntimeValue,