-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(array): remove 64bit refcount misalignments (#5390)
Invoking atomic operations in the reference counters resulted in an alignment panic in armv7, due to them not being 64bit aligned. Declaring them first in the struct solved it. See https://pkg.go.dev/sync/atomic#pkg-note-BUG fore more details For context: I already fixed a similar issue at #4676
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters