Skip to content

Commit 6bb43c9

Browse files
committed
Fix(SlimSystem): import std assertions and typedthreads
1 parent d94c018 commit 6bb43c9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
nimcache/
22
nimblecache/
33
htmldocs/
4+
5+
/tests/megatest*
6+
/outputGotten.txt

threading/channels.nim

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ runnableExamples("--threads:on --gc:orc"):
8282
when not defined(gcArc) and not defined(gcOrc) and not defined(nimdoc):
8383
{.error: "This channel implementation requires --gc:arc or --gc:orc".}
8484

85+
when defined(nimPreviewSlimSystem):
86+
import std/typedthreads
87+
import std/assertions
88+
8589
import std/[locks, atomics, isolation]
8690
import system/ansi_c
8791

0 commit comments

Comments
 (0)