Skip to content

Commit 67004c8

Browse files
committed
Merge pull request #2575 from tinysun212/pr-fix-sr-612
[stdlib/cygwin] Removed the workaround of print() (SR-612)
2 parents e003e5e + a10c9c5 commit 67004c8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/public/core/Print.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ public func print(
2828
separator: String = " ",
2929
terminator: String = "\n"
3030
) {
31-
#if os(Windows)
32-
// 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
3631
if let hook = _playgroundPrintHook {
3732
var output = _TeeStream(left: "", right: _Stdout())
3833
_print(

0 commit comments

Comments
 (0)