You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
it may causes security issues, I will make it private soon.
meh, then just call it mktempUnsafe to make it clear to users; but there are useful use cases (where security is not a concern) for returning a path to a not-yet-created file (even if it could theoretically fail in adversarial circumstances); nim is a systems programming language, so should allow that IMO
a few issues:
existsFile
can't be used at CTother points
EDIT: filed
deprecated
proc called from bar.nim doesn't give deprecation warning if bar.nimble exists nim-lang/Nim#9854potential solution
on posix: use mktemp + gorgeEx (ie execute shell cmd at CT)
on windows: ?
eg use case:
nimterop/nimterop#27 where I need a rand file at CT
The text was updated successfully, but these errors were encountered: