disallow non-global foreign import of variables on wasm

This commit is contained in:
Laytan Laats
2024-06-28 01:16:26 +02:00
parent ed7d34beb0
commit b79d7e6917
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -2018,7 +2018,7 @@ gb_internal LLVMValueRef llvm_get_inline_asm(LLVMTypeRef func_type, String const
}
gb_internal void lb_set_wasm_import_attributes(LLVMValueRef value, Entity *entity, String import_name) {
gb_internal void lb_set_wasm_procedure_import_attributes(LLVMValueRef value, Entity *entity, String import_name) {
if (!is_arch_wasm()) {
return;
}