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 cf327e9 commit f0a5fa5Copy full SHA for f0a5fa5
Tests/LinuxMain.swift
@@ -26,7 +26,7 @@ XCTMain(tests)
26
import struct CLTLogger.SGR
27
try FileHandle.standardError.write(contentsOf: Data("""
28
\(SGR(.fgColorTo4BitBrightRed, .bold).rawValue)Tests are disabled on WASI\(SGR.reset.rawValue):
29
-\(SGR(.fgColorTo256PaletteValue(245)).rawValue)CLTLogger is compatible with Swift <5.4, so we have to add a LinuxMain file in which we call XCTMain.
+\(SGR(.fgColorTo256PaletteValue(245)).rawValue)GHALogger is compatible with Swift <5.4, so we have to add a LinuxMain file in which we call XCTMain.
30
On WASI the XCTMain function is async, so we have to #if the XCTMain call, one with the await keyword, the other without.
31
However, on Swift <5.5 the LinuxMain setup like this does not compile because the old compiler does not know the await keyword
32
(even though the whole code is ignored because we do not compile for WASI when compiling with an old compiler).
0 commit comments