feat(deprecated) Port Module::instantiate().

This commit is contained in:
Ivan Enderlin
2020-05-22 15:13:45 +02:00
parent 47a4a2d11d
commit c64698c3d0
2 changed files with 18 additions and 0 deletions

View File

@@ -11,6 +11,13 @@ pub struct Instance {
}
impl Instance {
pub(crate) fn new(new_instance: new::wasmer::Instance) -> Self {
Self {
module: (),
new_instance,
}
}
#[deprecated(
since = "__NEXT__VERSION__",
note = "This method is no longer available."