removes channels_builtin when enabling nimPreviewSlimSystem (#20713)

This commit is contained in:
ringabout 2022-10-31 16:56:05 +08:00 • committed by GitHub
commit 0a1f204f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 18 deletions

View file

@ -22,6 +22,9 @@ runnableExamples("-r:off"):
if line.len > 0: echo line
echo "exiting"
when defined(nimPreviewSlimSystem):
import std/syncio
when defined(windows):
proc readLineFromStdin*(prompt: string): string {.
tags: [ReadIOEffect, WriteIOEffect].} =