Basically, support for complex types got removed. You should use any kind of lock instead. Pros: no need to make atomics non copyable/movable since that would be too restrictive. Cons: doesn't compile without --threads:on (as it uses system/atomics and that doesn't compile). Shouldn't be an issue if it becomes the default eventually. Known bugs: https://github.com/planetis-m/sync/issues/11 The test file comes from the stdlib.
Refs: https://github.com/nim-lang/RFCs/issues/170
Basically, support for complex types got removed. You should use any kind of lock instead. Pros: no need to make atomics non copyable/movable since that would be too restrictive. Cons: doesn't compile without
--threads:on
(as it uses system/atomics and that doesn't compile). Shouldn't be an issue if it becomes the default eventually. Known bugs: https://github.com/planetis-m/sync/issues/11 The test file comes from the stdlib.