compiler: fix incorrect unsafe.Alignof on some 32-bit architectures

This should fix https://github.com/tinygo-org/tinygo/issues/2643
This commit is contained in:
Ayke van Laethem
2022-03-01 14:50:28 +01:00
committed by Ayke
parent ecb7eebcff
commit 29c1d7c68d
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -401,6 +401,8 @@ float32 4 32
float64 8 64
complex64 8 64
complex128 16 128
offset for int64 matches: true
offset for complex128 matches: true
type assertion succeeded for unreferenced type
struct tags