mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
feat(depreacted) Implement Clone for Instance and Module.
This commit is contained in:
@@ -3,6 +3,7 @@ use std::{convert::Infallible, error::Error};
|
||||
|
||||
pub use new::wasmer::Exports;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Instance {
|
||||
#[deprecated(
|
||||
since = "__NEXT_VERSION__",
|
||||
|
||||
@@ -3,6 +3,7 @@ use std::convert::Infallible;
|
||||
|
||||
pub use new::wasm_common::{DataInitializer, ExportIndex};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Module {
|
||||
pub(crate) new_module: new::wasmer::Module,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user