We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d94a03 commit 18e765eCopy full SHA for 18e765e
stdlib/public/core/Print.swift
@@ -28,8 +28,11 @@ public func print(
28
separator: String = " ",
29
terminator: String = "\n"
30
) {
31
- // Adhoc fix for 'crash at hook(output.left)' in cygwin
32
- let _playgroundPrintHook : ((String)->Void)? = {_ in () }
+#if os(Windows)
+ // FIXME: This fix is for 'crash at hook(output.left)' in cygwin.
33
+ // Proper fix is needed. see: https://bugs.swift.org/browse/SR-612
34
+ let _playgroundPrintHook : ((String)->Void)? = nil
35
+#endif
36
if let hook = _playgroundPrintHook {
37
var output = _TeeStream(left: "", right: _Stdout())
38
_print(
0 commit comments