mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Rename wasmer_module_new -> wasmer_object_module_new
There was a bit of confusion when merging: both wasmer_module_new, wasmer_object_module_new and wasmer_static_module_new are one and the same function.
This commit is contained in:
@@ -915,7 +915,7 @@ impl CreateExe {
|
||||
c_code_to_instantiate.push_str(&format!(
|
||||
"
|
||||
|
||||
wasm_module_t *atom_{atom_name} = wasmer_static_module_new(store, \"{atom_name}\");
|
||||
wasm_module_t *atom_{atom_name} = wasmer_object_module_new(store, \"{atom_name}\");
|
||||
|
||||
if (!atom_{atom_name}) {{
|
||||
fprintf(stderr, \"Failed to create module from atom \\\"{atom_name}\\\"\\n\");
|
||||
|
||||
Reference in New Issue
Block a user