mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 15:05:00 -07:00
disallow non-global foreign import of variables on wasm
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user