boolean, sizeofstring: update after talking with x/tools folks

This commit is contained in:
2025-08-27 22:49:18 -04:00
parent 95e06f326d
commit 86f0b6c785
5 changed files with 13 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
package bocchi
package main
import "unsafe"
@@ -16,3 +16,5 @@ var (
// assert y is the last field in Bocchi
_ [0]struct{} = [unsafe.Sizeof(Bocchi{}) - (unsafe.Alignof(Bocchi{}.y) + unsafe.Sizeof(Bocchi{}.y))]struct{}{}
)
func main() {}