aboutsummaryrefslogtreecommitdiff
path: root/src/tilde.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-06-28 01:16:26 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-06-28 01:34:09 +0200
commitb79d7e69177ccbc25b75f1aa7a90a62f64c6cee1 (patch)
tree5b21b566621f03f1c9e795616987922fc64fd98c /src/tilde.cpp
parented7d34beb0d39ae8ae0fce43513fae809bca8ba4 (diff)
disallow non-global foreign import of variables on wasm
Diffstat (limited to 'src/tilde.cpp')
-rw-r--r--src/tilde.cpp1
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;
}