| ... | ... | @@ -2721,13 +2721,13 @@ pub const FunctionImportId = enum(u32) { |
| 2721 | 2721 | return switch (unpack(id, wasm)) { |
| 2722 | 2722 | .object_function_import => |i| { |
| 2723 | 2723 | const import = i.value(wasm); |
| 2724 | | return import.flags.binding == .strong and import.module_name != .none; |
| 2724 | return import.flags.binding == .strong; |
| 2725 | 2725 | }, |
| 2726 | 2726 | .zcu_import => |i| { |
| 2727 | 2727 | const zcu = wasm.base.comp.zcu.?; |
| 2728 | 2728 | const ip = &zcu.intern_pool; |
| 2729 | 2729 | const ext = ip.indexToKey(ip.getNav(i.ptr(wasm).*).resolved.?.value).@"extern"; |
| 2730 | | return ext.linkage != .weak and ext.lib_name != .none; |
| 2730 | return ext.linkage == .strong; |
| 2731 | 2731 | }, |
| 2732 | 2732 | }; |
| 2733 | 2733 | } |