Add a SWIFT_STDLIB_HAS_STDIN flag to compile out the Swift.readLine() API from the stdlib (for the 'freestanding' preset) (#39332)

This commit is contained in:
Kuba (Brecka) Mracek
2021-09-17 10:42:14 -07:00
committed by GitHub
parent e69f7eb49e
commit 6766824d51
8 changed files with 26 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
// -*- swift -*-
// RUN: %target-run-simple-swiftgyb
// REQUIRES: executable_test
// UNSUPPORTED: freestanding
import StdlibUnittest