1
0
mirror of https://github.com/fluencelabs/marine.git synced 2025-03-16 06:20:49 +00:00
This commit is contained in:
Valery Antopol 2023-02-17 20:05:04 +03:00
parent a4fa9392f7
commit acc4dabb7a

@ -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,