refactor os imports into corresponding small modules (#20720)
This commit is contained in:
parent
d735c447d3
commit
6166b796ba
8 changed files with 11 additions and 8 deletions
|
|
@ -24,7 +24,8 @@ elif defined(posix):
|
|||
else:
|
||||
{.error: "the memfiles module is not supported on your operating system!".}
|
||||
|
||||
import os, streams
|
||||
import streams
|
||||
import std/oserrors
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/[syncio, assertions]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue