Files
tinygo/compiler
Steven Kabbes 4c7449efe5 compiler: alignof [0]func() = 1
In the go protobuf code, a pattern is used to statically prevent
comparable structs by embedding:

```
type DoNotCompare [0]func()

type message struct {
  DoNotCompare
  data *uint32
}
```

Previously, sizezof(message{}) is 2 words large, but it only needs to be
1 byte.  Making it be 1 byte allows protobufs to compile slightly more
(though not all the way).
2022-05-19 08:02:32 +02:00
..
2022-04-23 08:45:46 +02:00
2021-10-03 16:28:34 +02:00
2022-04-23 08:45:46 +02:00
2021-09-27 15:47:12 +02:00
2022-05-19 08:02:32 +02:00
2022-01-09 11:04:10 +01:00