You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned.
This should be possible to diagnose statically and warn about.
The text was updated successfully, but these errors were encountered:
(Copied from dominikh/go-staticcheck#15, originally by @dgryski)
From
sync/atomic
:This should be possible to diagnose statically and warn about.
The text was updated successfully, but these errors were encountered: