disallow non-global foreign import of variables on wasm

This commit is contained in:
Laytan Laats
2024-06-28 01:16:26 +02:00
parent ed7d34beb0
commit b79d7e6917
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -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);
}