qmuntal / stateless

Go library for creating finite state machines
BSD 2-Clause "Simplified" License
898 stars 47 forks source link

Fix unaligned panic on 32 bit arm #53

Closed qmuntal closed 1 year ago

qmuntal commented 1 year ago

Fixes #52

There was a partial fix for this issue in #32. This time I've used atomic.Uint64 which is guaranteed to be correctly aligned. The unfortunate side-efect is that it requires go1.19.