Add @force to foreign import

This commit is contained in:
gingerBill
2019-11-01 19:26:22 +00:00
parent 44a303e577
commit 3b898e5224
7 changed files with 44 additions and 1 deletions
+5
View File
@@ -11335,6 +11335,11 @@ void ir_gen_tree(irGen *s) {
}
}
for_array(i, m->info->required_foreign_imports_through_force) {
Entity *e = m->info->required_foreign_imports_through_force[i];
ir_add_foreign_library_path(m, e);
}
#endif
{ // Startup Runtime
// Cleanup(bill): probably better way of doing code insertion