mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 13:28:49 +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;
|
pub use new::wasmer::Exports;
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Instance {
|
pub struct Instance {
|
||||||
#[deprecated(
|
#[deprecated(
|
||||||
since = "__NEXT_VERSION__",
|
since = "__NEXT_VERSION__",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ use std::convert::Infallible;
|
|||||||
|
|
||||||
pub use new::wasm_common::{DataInitializer, ExportIndex};
|
pub use new::wasm_common::{DataInitializer, ExportIndex};
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Module {
|
pub struct Module {
|
||||||
pub(crate) new_module: new::wasmer::Module,
|
pub(crate) new_module: new::wasmer::Module,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user