diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-10-31 13:36:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 06:36:50 +0100 |
commit | e1ddd2d524e3e57df25d6498d275f019e450111e (patch) | |
tree | 9d531ffc00e74da2569977b792a8b3304f25c919 /lib/pure | |
parent | fb2ec8d192cbaa36868f28275993936868ba2d31 (diff) | |
download | Nim-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 'lib/pure')
-rw-r--r-- | lib/pure/concurrency/threadpool.nim | 2 | ||||
-rw-r--r-- | lib/pure/random.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim index 5d9e7452b..50f3be1ea 100644 --- a/lib/pure/concurrency/threadpool.nim +++ b/lib/pure/concurrency/threadpool.nim @@ -24,7 +24,7 @@ when not compileOption("threads"): import cpuinfo, cpuload, locks, os when defined(nimPreviewSlimSystem): - import std/assertions + import std/[assertions, threads] {.push stackTrace:off.} diff --git a/lib/pure/random.nim b/lib/pure/random.nim index de93f468f..9418924da 100644 --- a/lib/pure/random.nim +++ b/lib/pure/random.nim @@ -76,7 +76,7 @@ import algorithm, math import std/private/since when defined(nimPreviewSlimSystem): - import std/assertions + import std/[assertions] include system/inclrtl {.push debugger: off.} |