diff options
| author | gingerBill <bill@gingerbill.org> | 2019-11-01 19:26:22 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-11-01 19:26:22 +0000 |
| commit | 3b898e5224872a507bd4a8e8be75c80643943d2a (patch) | |
| tree | cb07b7ad1945061de9e900d9957b0aec7147a6cb /src/ir.cpp | |
| parent | 44a303e5778fb8564964d53523634f34f8589489 (diff) | |
Add `@force` to `foreign import`
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index e7317a960..8d5587341 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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 |