Skip to content

Commit d14aab7

Browse files
committed
Fix NIO build on the CI now that strict concurrency has been turned on
1 parent e8375df commit d14aab7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

swift-nio-filesystem.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ index 3dc51872..49aeeeca 100644
1111
// When opening in this mode we can more "atomically" create the file, that is, by not
1212
// leaving the user with a half written file should e.g. the system crash or throw an
1313
// error while writing. On non-Android Linux we do this by opening the directory for
14+
diff --git a/Sources/NIOPerformanceTester/main.swift b/Sources/NIOPerformanceTester/main.swift
15+
index b3c2840a..809f114e 100644
16+
--- a/Sources/NIOPerformanceTester/main.swift
17+
+++ b/Sources/NIOPerformanceTester/main.swift
18+
@@ -32,7 +32,7 @@ import NIOPosix
19+
import NIOWebSocket
20+
21+
// Use unbuffered stdout to help detect exactly which test was running in the event of a crash.
22+
-setbuf(stdout, nil)
23+
+//setbuf(stdout, nil)
24+
25+
// MARK: Test Harness
26+
1427
diff --git a/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift b/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift
1528
index 8404e159..151fccc1 100644
1629
--- a/Tests/NIOFSIntegrationTests/BufferedReaderTests.swift

0 commit comments

Comments
 (0)