Skip to content

Commit

Permalink
Fix(SlimSystem): import std assertions and typedthreads
Browse files Browse the repository at this point in the history
  • Loading branch information
noahehall committed May 5, 2023
1 parent d94c018 commit 6bb43c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
nimcache/
nimblecache/
htmldocs/

/tests/megatest*
/outputGotten.txt
4 changes: 4 additions & 0 deletions threading/channels.nim
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ runnableExamples("--threads:on --gc:orc"):
when not defined(gcArc) and not defined(gcOrc) and not defined(nimdoc):
{.error: "This channel implementation requires --gc:arc or --gc:orc".}

when defined(nimPreviewSlimSystem):
import std/typedthreads
import std/assertions

import std/[locks, atomics, isolation]
import system/ansi_c

Expand Down

0 comments on commit 6bb43c9

Please sign in to comment.