From 0d75bbace0e96c0ed10b2c9dd63c7feab45d24a4 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Wed, 16 Apr 2025 23:31:34 +0800 Subject: [PATCH] fix itab on 32bit --- runtime/internal/runtime/z_face.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/internal/runtime/z_face.go b/runtime/internal/runtime/z_face.go index af7d10de..84f82ce7 100644 --- a/runtime/internal/runtime/z_face.go +++ b/runtime/internal/runtime/z_face.go @@ -43,8 +43,7 @@ type interfacetype = abi.InterfaceType type itab struct { inter *interfacetype _type *_type - hash uint32 // copy of _type.hash. Used for type switches. - _ [4]byte + hash uint32 // copy of _type.hash. Used for type switches. fun [1]uintptr // variable sized. fun[0]==0 means _type does not implement inter. }