ssa/abi: StructName not pub

This commit is contained in:
visualfc
2024-12-13 15:59:42 +08:00
parent d2d8bd550a
commit 71766d9c55

View File

@@ -308,7 +308,7 @@ func (b *Builder) StructName(t *types.Struct) (ret string, pub bool) {
if private {
return b.Pkg + ".struct$" + hashStr, false
}
return "_llgo_struct$" + hashStr, true
return "_llgo_struct$" + hashStr, false
}
func (b *Builder) structHash(t *types.Struct) (ret []byte, private bool) {