mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
cli: re-introduce create-exe functionality
This commit is contained in:
committed by
Manos Pitsidianakis
parent
087803c028
commit
a02ff59a0f
@@ -40,11 +40,11 @@ impl ModuleInfoPolyfill {
|
||||
field: &str,
|
||||
) -> WasmResult<()> {
|
||||
self.info.imports.insert(
|
||||
(
|
||||
String::from(module),
|
||||
String::from(field),
|
||||
self.info.imports.len() as u32,
|
||||
),
|
||||
wasmer_types::ImportKey {
|
||||
module: String::from(module),
|
||||
field: String::from(field),
|
||||
import_idx: self.info.imports.len() as u32,
|
||||
},
|
||||
import,
|
||||
);
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user