diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-28 02:11:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 02:11:50 +0200 |
| commit | d31f88bfaa377fb2363615bcdeea3768a1258bf6 (patch) | |
| tree | 5b21b566621f03f1c9e795616987922fc64fd98c /src/tilde.cpp | |
| parent | ed7d34beb0d39ae8ae0fce43513fae809bca8ba4 (diff) | |
| parent | b79d7e69177ccbc25b75f1aa7a90a62f64c6cee1 (diff) | |
Merge pull request #3823 from laytan/enforce-global-foreign-import-variables
disallow non-global foreign import of variables on wasm
Diffstat (limited to 'src/tilde.cpp')
| -rw-r--r-- | src/tilde.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tilde.cpp b/src/tilde.cpp index 4fc7d1c9b..f6fed0f9a 100644 --- a/src/tilde.cpp +++ b/src/tilde.cpp @@ -363,7 +363,6 @@ gb_internal bool cg_global_variables_create(cgModule *m, Array<cgGlobalVariable> if (is_foreign) { linkage = TB_LINKAGE_PUBLIC; // lb_add_foreign_library_path(m, e->Variable.foreign_library); - // lb_set_wasm_import_attributes(g.value, e, name); } else if (is_export) { linkage = TB_LINKAGE_PUBLIC; } |