mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 06:35:00 -07:00
@(linkage=<string>) for procedures and variables; @(require) for procedures; package runtime linkage improvements; Subsequence improvements to lb_run_remove_unused_function_pass
This commit is contained in:
@@ -203,6 +203,8 @@ lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool ignore_body)
|
||||
}
|
||||
}
|
||||
}
|
||||
lb_set_linkage_from_entity_flags(p->module, p->value, entity->flags);
|
||||
|
||||
|
||||
if (p->is_foreign) {
|
||||
lb_set_wasm_import_attributes(p->value, entity, p->name);
|
||||
|
||||
Reference in New Issue
Block a user