-
Couldn't load subscription status.
- Fork 993
Open
Description
People are trying to build stuff that uses modernc.org/memory package. There is one assumption made by this package- it requires a size of 8 for sync.Mutex.
The current implementation of sync.Mutex is based on the task.Mutex which is composed of a bool and a Stack (pointer). This gives the Mutex a size of 16 bytes on 64-bit aligned systems while in upstream Go it is 8 bytes.
TinyGo data structures
Go data structures
Metadata
Metadata
Assignees
Labels
No labels