This commit is contained in:
Valery Antopol 2023-02-17 20:05:04 +03:00
parent a4fa9392f7
commit acc4dabb7a

View File

@ -22,7 +22,10 @@ pub trait Module<WB: WasmBackend> {
fn custom_sections(&self, key: &str) -> Option<&[Vec<u8>]>;
/// Instantiates module by allocating memory, VM state and linking imports with ones from `import` argument.
/// Does not call `_start` or `_initialize` functions.
///
/// # Panics:
///
/// If the `Store` given is not the same with `Store` used to create `Imports` and this object.
fn instantiate(
&self,