mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 20:32:21 -07:00
disallow non-global foreign import of variables on wasm
This commit is contained in:
@@ -233,7 +233,7 @@ gb_internal lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool i
|
||||
|
||||
|
||||
if (p->is_foreign) {
|
||||
lb_set_wasm_import_attributes(p->value, entity, p->name);
|
||||
lb_set_wasm_procedure_import_attributes(p->value, entity, p->name);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user