summary refs log tree commit diff stats
path: root/tests/arc/tweave.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-31 13:36:50 +0800
committerGitHub <noreply@github.com>2022-10-31 06:36:50 +0100
commite1ddd2d524e3e57df25d6498d275f019e450111e (patch)
tree9d531ffc00e74da2569977b792a8b3304f25c919 /tests/arc/tweave.nim
parentfb2ec8d192cbaa36868f28275993936868ba2d31 (diff)
downloadNim-e1ddd2d524e3e57df25d6498d275f019e450111e.tar.gz
put std/threads under the umbrella of nimPreviewSlimSystem (#20711)
* put `std/threads` under the umbrella of `nimPreviewSlimSystem`

* add changelog

* fixes tests

* fixes tests again

* fixes tests
Diffstat (limited to 'tests/arc/tweave.nim')
-rw-r--r--tests/arc/tweave.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/arc/tweave.nim b/tests/arc/tweave.nim
index 220d65f97..fc576f484 100644
--- a/tests/arc/tweave.nim
+++ b/tests/arc/tweave.nim
@@ -8,6 +8,9 @@ discard """
 
 import std/atomics
 
+when defined(nimPreviewSlimSystem):
+  import std/[assertions, threads]
+
 const MemBlockSize = 256
 
 type