rename std/threads to std/typedthreads (#20850)
* rename `std/threads` to `std/oldthreads` * fixes tests * rename to `typedthreads` * changelog
This commit is contained in:
parent
06cd15663d
commit
e03a178bff
11 changed files with 12 additions and 12 deletions
|
|
@ -58,7 +58,7 @@ proc c_getenv(env: cstring): cstring {.importc: "getenv", header: "<stdlib.h>".}
|
|||
|
||||
when not defined(js) and not defined(nimscript):
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/threads
|
||||
import std/typedthreads
|
||||
block: # bug #18533
|
||||
var thr: Thread[void]
|
||||
proc threadFunc {.thread.} = putEnv("foo", "fooVal2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue