explicitly import using std/ in tempfiles.nim (#22851)

At least on modern Nim `tempfiles` is not usable if the user has
https://github.com/oprypin/nim-random installed, because the compiler
picks the nimble path over the stdlib path (apparently).
This commit is contained in:
Vindaar
2023-10-20 19:04:01 +02:00
committed by GitHub
parent e10878085e
commit 2b1a671f1c

View File

@@ -17,7 +17,7 @@ See also:
* `mkstemp` (posix), refs https://man7.org/linux/man-pages/man3/mkstemp.3.html
]#
import os, random
import std / [os, random]
when defined(nimPreviewSlimSystem):
import std/syncio