raytracing ) nim c -d:danger --threads:on smallpt.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: used config file '/etc/nim/config.nims' [Conf]
Hint: used config file '/home/gavr/Projects/nim/weave-master/nim.cfg' [Conf]
....................................
/home/gavr/Projects/nim/weave-master/weave/cross_thread_com/scoped_barriers.nim(66, 12) Warning: Moving a shared resource (an atomic type). [User]
..................................Traceback from system (most recent call last)
Error: unhandled exception: 'sym' is not accessible using discriminant 'kind' of type 'TNode' [FieldDefect]
nim version:
1.4.8 [Linux: amd64]
Error:
With threads on all works: