Disable threads for os:any (#21425)
This commit is contained in:
parent
bbb6d2c69d
commit
7837e57e93
2 changed files with 7 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ when defined(nimPreviewSlimSystem):
|
|||
when defined(genode):
|
||||
import genode/env
|
||||
|
||||
when hostOS == "any":
|
||||
{.error: "Threads not implemented for os:any. Please compile with --threads:off.".}
|
||||
|
||||
when hasAllocStack or defined(zephyr) or defined(freertos) or defined(nuttx) or
|
||||
defined(cpu16) or defined(cpu8):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue